Closed hellcatz closed 7 years ago
i noticed this also, you need to restart pool to see changes on frontend
Sigh, JavaScript. Always breaking old code with updates
Below is a solution to the issue. It requires node-watch 0.5.0 +...
Sorry for the breaking.
I suggest replacing all the "*" in package.json
with prefixed tilde(~) or caret(^) version numbers to prevent something like this to happen again. (see https://docs.npmjs.com/files/package.json)
Some tools might be helpful:
https://yarnpkg.com/en/ https://docs.npmjs.com/cli/shrinkwrap
It's fine, I made a PR to lockdown package versions #122
node-watch used to reload
website
files is may not be working with latest npm package updates https://github.com/z-classic/z-nomp/blob/master/libs/website.js#L98-L106