node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



watch runner, you have during development many commands that watch your files or host your files in a webserver. this project will let you have many watch and server on a single console.

make a script "watch.js" in the root of yout project (you can name it and place it how and where you want)

´´´js var twatch = require("twatch");

twatch('watchify -t babelify src/main.js -o public/bundle.js'); twatch({cmd:'json-server -s public/ data.json',logName:'server'}); twatch({cmd:'scripts/customWatchStript.js',logName:'build'});

´´´ In this script you watch have three watch processes runing blocking only one console and you can easily stop all together by [ctrl]+c.


Tobias Nickel German software developer in Shanghai. alt text