Improve application reloading in development mode
andersevenrud opened this issue · 0 comments
andersevenrud commented
This was brought up in https://community.os-js.org/t/how-to-update-hot-reload-application/519/4.
The current implementation is not very reliable. Something in the chain fails (or does not happen), which currently is:
- Server watches the dist folder
- A change occurs and the watcher catches the file path
- This action is debounced
- A broadcast with the changed package name occurs
- The client retrieves the broadcast event and restarts the application by name