Skip to content

Reload the whole app when package.json changed #5

@1j01

Description

@1j01

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 nw@0.13.0.
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions