Command-line tool
reflex
brew/reflex
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Run a command when files change
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install reflex
Linux
brew install reflex
Rebuild with `make` if any file changes
reflex make
Compile and run Go application if any `.go` file changes
reflex -r '\.go$' go run .
Ignore a directory when watching for changes
reflex -G '^dir/' command
Related command-line tools
- re-flex
Regex-centric, fast and flexible scanner generator for C++ - watchexec
Execute commands when watched files change rust developer-tools command-line file-watchers - entr
Run arbitrary commands when files change - fswatch
Monitor a directory for changes and run a shell command - chokidar-cli
Ultra-fast cross-platform command line utility to watch file system changes. fs watch watchfile watcher watching file… - diffstat
Produce graph of changes introduced by a diff file - watchman
Watch files and take action when they change - rename
Perl-powered file rename script with many helpful built-ins
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents