p5.js-editor icon indicating copy to clipboard operation
p5.js-editor copied to clipboard

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

Open sepans opened this issue 10 years ago • 2 comments

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 avatar Nov 29 '15 17:11 sepans

TODO: add gulp-html-replace

sepans avatar Nov 29 '15 21:11 sepans

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

sepans avatar Nov 30 '15 19:11 sepans