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 3,067
Installs on Request (30 days)
fswatch 2,001
Build Errors (30 days)
fswatch 2
Installs (90 days)
fswatch 10,917
Installs on Request (90 days)
fswatch 6,926
Installs (365 days)
fswatch 44,374
Installs on Request (365 days)
fswatch 28,957
Fork me on GitHub