Getting started

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.

Watching

watchman watch ~/src
watchman watch-list
watchman watch-del ~/src

Also see

京ICP备2021021252号-1    Copyright © 2022.All right reserved.Powered by shouce.51my.top