nw-dev
nw-dev copied to clipboard
Reload the whole app when package.json changed
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 https://github.com/nwjs/nw.js/issues/149 to do just that, at least for some platforms.