Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve application reloading in development mode #768

Open
andersevenrud opened this issue Mar 27, 2021 · 0 comments
Open

Improve application reloading in development mode #768

andersevenrud opened this issue Mar 27, 2021 · 0 comments

Comments

@andersevenrud
Copy link
Member

andersevenrud commented Mar 27, 2021

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:

  1. Server watches the dist folder
  2. A change occurs and the watcher catches the file path
  3. This action is debounced
  4. A broadcast with the changed package name occurs
  5. The client retrieves the broadcast event and restarts the application by name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant