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

Formula JSON API: /api/formula/fswatch.json

Formula code: fswatch.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 1.18.3

Analytics:

Installs (30 days)
fswatch 1,532
fswatch --HEAD 3
Installs on Request (30 days)
fswatch 1,458
fswatch --HEAD 3
Build Errors (30 days)
fswatch 6
Installs (90 days)
fswatch 9,435
fswatch --HEAD 17
Installs on Request (90 days)
fswatch 8,847
fswatch --HEAD 17
Installs (365 days)
fswatch 16,788
fswatch --HEAD 43
Installs on Request (365 days)
fswatch 15,663
fswatch --HEAD 43
Fork me on GitHub