3 ms·
A node version of this is to use supervisor [1]. E.g. in a makefile [2] for http://countw.tf/ http://countw.tf/ (a great way to vent while exploring an old cod
by joshka 14y ago
A node version of this is to use supervisor [1].
E.g. in a makefile [2] for http://countw.tf/ http://countw.tf/ (a great way to vent while exploring an old codebase with many err... sub-optimal choices)
debug:
browserify site/scripts/app.js -o site/scripts/app-built.js --debug
watch:
supervisor --watch site/scripts --ignore site/scripts/app-built.js --no-restart-on exit --exec make debug
1: https://github.com/isaacs/node-supervisor https://github.com/isaacs/node-supervisor
2: https://github.com/joshka/countw.tf/blob/master/Makefile https://github.com/joshka/countw.tf/blob/master/Makefile