Refresh templates on the fly in local dev #9
Labels
No Label
admins only
bug
design
duplicate
gimme feedback
good first issue
hmmmm
invalid
reference
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hmn/hmn#9
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At the moment we use the
embed
tooling in Go to include all the site templates directly in the compiled executable. This is great for deployment but kind of a pain in local development, when templates are changing frequently. It should be relatively easy to have a config flag that loads and compiles templates per request in development.Of course, people will still need to refresh the site a lot as they make actual code changes, but I still spend a lot of time just making straightforward HTML/CSS edits and restarting all the time (and building SCSS... #8).
Refresh HTML templates on the fly in local devto Refresh templates on the fly in local dev