Command-line tool
watchman
brew/watchman
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Watch files and take action when they change
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id facebook.watchman -e scoop install watchman
macOS
brew install watchman
Linux
brew install watchman
Infer the root directory of the project containing the specified directory, and watch its files and sub-folders for changes
watchman watch-project path/to/directory
Add a trigger to run a command when files with a specified filename pattern in a watched directory change
watchman -- trigger path/to/watched_directory trigger_name 'pattern' -- command
List all watched directories
watchman watch-list
Related command-line tools
- nodemon
Simple monitor script for use during development of a Node.js app. cli monitor monitor development restart autoload… - dwatch
Watch programs and perform actions based on a configuration file - inotify-tools
C library and command-line programs providing a simple interface to inotify - reflex
Run a command when files change - re-flex
Regex-centric, fast and flexible scanner generator for C++ - cpx
Copy file globs, watching for changes. cp cli tool commandline sync rsync watch observe copy dir directory directories - cpx2
Copy file globs, watching for changes. cp cli tool commandline sync rsync watch observe copy dir directory directories - node-sass
JavaScript implementation of a Sass compiler
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents