watchman

A service that watches files, and triggers actions when changes occur. More information: https://facebook.github.io/watchman/docs/cli-options.

watchman watch-project {{path/to/directory}}

watchman -- trigger {{path/to/watched_directory}} {{trigger_name}} '{{pattern}}' -- {{command}}

watchman watch-list

watchman watch-del {{path/to/watched_directory}}

watchman watch-del-all

watchman trigger-list {{path/to/watched_directory}}

watchman trigger-del {{path/to/watched_directory}} {{trigger_name}}

watchman shutdown-server