Watchman
Getting started
1 | watchman watch ./src |
Adds ./src to the watch list.
1 | watchman -- trigger ./src retest '*.js' -- npm test |
Adds a trigger called retest to run npm test every time *.js changes in ./src.
Watching
1 | watchman watch ~/src |
Also see
- Documentation (facebook.github.io)