Skip to content
This repository has been archived by the owner. It is now read-only.

added nw-dev to reload nw.js on file change. #197

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sepans
Copy link
Member

@sepans sepans commented Nov 29, 2015

nw-dev reloads nw.js when files are edited. Also F5 reloads nw.js.

Just one minor problem: The reload script had to be added to public/index.html and since nw-dev which causes a 'file doesn't exist' error in the built editor.

@sepans
Copy link
Member Author

sepans commented Nov 29, 2015

TODO: add gulp-html-replace

@sepans
Copy link
Member Author

sepans commented Nov 30, 2015

hey @antiboredom if this dev feature is useful for you can you help adding remove-dev to build task? I wasn't sure what is the best way to call remove-dev to have the dev-only script be removed before it being built. Thanks

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

Successfully merging this pull request may close these issues.

1 participant