watchman

Watch files and take action when they change

brewmacoslinux
Try with needOr install directly
Source

About

Watch files and take action when they change

Commands

watchman

Examples

Start the watchman service$ watchman shutdown-server && watchman version
Watch a directory for changes$ watchman watch /path/to/directory
Set up a trigger to run a command when files change$ watchman trigger /path/to/directory my-trigger 'src/**/*.js' -- npm run build