npm scripts example
Closed this issue · 1 comments
francoisromain commented
I try to liveReload from a npm scripts, but I can not get it:
I installed liveReload globally and locally. Here is the script:
"watch": "onchange '/src/**/*.*' -- npm run dev & liveReload http://localhost"
and
$ npm run watch
Now the browser extension is watching but the page does not reload onchange.
What am I doing wrong here?
thanks
francoisromain commented
my answer is here https://github.com/mysticatea/npm-run-all