Closed tschuehly closed 3 weeks ago
Thanks for the PR @tschuehly!
Does the ContextRefreshedEvent
lead to a restart of the application, or does it only trigger a browser reload?
Changing jte templates doesn't require an application restart, so it would be nice if only the browser would reload.
@casid It only triggers a browser reload.
That's awesome then! I've just merged the PR. Thanks for the clarification!
If it's not too much trouble we would be glad to have a bugfix release containing this change.
Hi @frederikb, not at all!
I'll create a new release tomorrow :-)
@frederikb 3.1.14 is out, containing this feature.
Thanks a lot, @casid, that was much faster than expected! And thanks @tschuehly, my first try was successful.
I'll test drive it for a bit and would report back if anything pops-up. Happy weekend.
Spring Boot automatically starts a livereload server that can be connected with:
But to trigger a live reload, Spring needs to be notified that a template has changed.
This is done with a FileSystemWatcher. I've created a PR: https://github.com/casid/jte/pull/398