1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-15 21:44:51 +02:00
Files
cheatsheets/watchman.md
Rico Sta. Cruz 669757869e watchman: update
2017-10-18 18:03:09 +08:00

627 B

title, layout, updated, weight, keywords
title layout updated weight keywords
Watchman 2017/sheet 2017-10-18 -1
watchman watch ~/src
watchman watch-list
watchman -- trigger ~/rsc remake '*.js' -- make

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