fswatch

Install command:
brew install fswatch

Monitor a directory for changes and run a shell command

https://github.com/emcrisostomo/fswatch

License: GPL-3.0-or-later and Apache-2.0

/api/formula/fswatch.json (JSON API)

/api/bottle/fswatch.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
64-bit linux
Apple Silicon big sur

Current versions:

stable 1.16.0

Analytics:

Installs (30 days)
fswatch 4,518
Installs on Request (30 days)
fswatch 2,731
Build Errors (30 days)
fswatch 7
Installs (90 days)
fswatch 15,298
Installs on Request (90 days)
fswatch 9,931
Installs (365 days)
fswatch 45,361
Installs on Request (365 days)
fswatch 29,709
Fork me on GitHub