node.js - livereload with npm and browserify -


i trying use npm building project (so dont want use gulp or grunt).

i want reload page everytime project files change, can't figure out how can done. can me, how need use e.g livereload example?:

 "scripts": {     "build": "browserify js/index.js > build/index.js -vd",     "start": "watchify js/index.js -o build/index.js -vd & serve . -p 3001 & opener http://localhost:3000"   } 

thanks! rowa


Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -