nw-dev icon indicating copy to clipboard operation
nw-dev copied to clipboard

Reload the whole app when package.json changed

Open 1j01 opened this issue 8 years ago • 0 comments

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.

1j01 avatar Sep 10 '17 05:09 1j01