npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

twatch

1.0.5 • Public • Published

twatch

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.

Developer

Tobias Nickel German software developer in Shanghai. alt text

Keywords

none

install

npm i twatch

Downloadsweekly downloads

20

version

1.0.5

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability