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:

Apple Silicon sequoia
sonoma
ventura
monterey
big sur
Intel sonoma
ventura
monterey
big sur
catalina
64-bit linux

Current versions:

stable 1.17.1

Analytics:

Installs (30 days)
fswatch 829
fswatch --HEAD 2
Installs on Request (30 days)
fswatch 758
fswatch --HEAD 2
Build Errors (30 days)
fswatch 18
Installs (90 days)
fswatch 2,556
fswatch --HEAD 10
Installs on Request (90 days)
fswatch 2,370
fswatch --HEAD 10
Installs (365 days)
fswatch 9,309
fswatch --HEAD 21
Installs on Request (365 days)
fswatch 8,639
fswatch --HEAD 21
Fork me on GitHub