Open moshe5745 opened 4 weeks ago
Thanks for opening this issue @moshe5745 👋
This is a good suggestion and one that would make Dart Frog development feel a bit more like Flutter based development. The first feedback from the team on this is that having some kind of add in being injected when running in Debug mode that would have an open socket back to the Dart Frog server listening for server updates. When an update is received reload the page. This would have the side effect of breaking the current flow that the user is in as there wouldn't be any context saved across the page reload but overall would allow for the Hot Reload functionality.
This feels like something that our proposed Plugin system could be used for as it would be hooking into the build process at certain times. We need to get through that work before implementing this but we can leave this ticket open to try and discuss the implementation specifics and get them documented here before any code get's written.
Description
Right now we need to manually reload the page to see the change when hot reload triggered
Think that auto-reload the browser is a crucial part of good DX
Requirements
Additional Context
No response