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

Readme

Keywords

none

Package Sidebar

Install

npm i twatch

Weekly Downloads

4

Version

1.0.5

License

MIT

Last publish

Collaborators

  • nickeltobias