watchman watch ./src
Adds ./src to the watch list.
watchman -- trigger ./src retest '*.js' -- npm test
Adds a trigger called retest to run npm test every time *.js changes in ./src.
watchman watch ~/src
watchman watch-list
watchman watch-del ~/src
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️