napcs/node-livereload

npm scripts example

Closed this issue · 1 comments

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