You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to bring it back, but only if we can make sure that it's only enabled in Debug builds, and no unsafe code in the Loco framework.
Right now we're recommending cargo-watch until we can find a good idea to accomplish the above.
One solution we can provide is that in debug mode only, or in configuration use fs to read a file (by key) and render from string directly.
Let's experiment with that for 0.13.0
I've implemented #977 as the simplest way to achieve a reload effect.
let's take your #930 and turn it into a live-reload only integration, if you can shape it in a form of a middleware that would be the best option for us 👍
closing this one
Feature Request
Can we add hot reload mechanism for tera templates.
Is your feature request related to a problem? Please describe.
N/a
Describe the solution you'd like
Editing tera .html files should result in immediate changes without compiling source. See also https://www.reddit.com/r/rust/comments/1f2rbe7/livereload_using_tera_in_axum
Describe alternatives you've considered
N/A
The text was updated successfully, but these errors were encountered: