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

Reload the whole app when package.json changed #5

Open
1j01 opened this issue Sep 10, 2017 · 0 comments
Open

Reload the whole app when package.json changed #5

1j01 opened this issue Sep 10, 2017 · 0 comments

Comments

@1j01
Copy link
Collaborator

1j01 commented Sep 10, 2017

When you edit package.json, it should trigger a reload of the whole app. (Maybe optionally.)
Previously it closed and reopened the window, but that stopped working, probably at [email protected].
With chrome.runtime.reload() we should be able to do something even better: reload the whole app!
Some things like chromium-args probably require relaunching the entire process, but there are some snippets of code people have written in nwjs/nw.js#149 to do just that, at least for some platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant