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

Development: Pull requests

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

Formula code: fswatch.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 1.19.0

Analytics:

Installs (30 days)
fswatch 3,935
fswatch --HEAD 5
Installs on Request (30 days)
fswatch 3,883
fswatch --HEAD 5
Build Errors (30 days)
fswatch 1
Installs (90 days)
fswatch 8,335
fswatch --HEAD 10
Installs on Request (90 days)
fswatch 8,243
fswatch --HEAD 10
Installs (365 days)
fswatch 20,529
fswatch --HEAD 31
Installs on Request (365 days)
fswatch 20,111
fswatch --HEAD 31