$ npm install -g ngyuki/node-phpunit-auto
$ phpunit-auto <path>... [--] [options]...
path
Watching paths.
options
PHPUnit command line options.
1. execute phpunit -c tests/ --colors
with watching src/ and tests/.
$ phpunit-auto src/ tests/ -c tests/ --colors
2. execute phpunit tests/
with watching src/ and tests/.
$ phpunit-auto src/ tests/ -- tests/