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

Bottle JSON API: /api/bottle/fswatch.json

Formula code: fswatch.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 1.17.1

Analytics (macOS):

Installs (30 days)
fswatch 2,506
Installs on Request (30 days)
fswatch 1,964
Build Errors (30 days)
fswatch 0
Installs (90 days)
fswatch 7,984
Installs on Request (90 days)
fswatch 5,744
Installs (365 days)
fswatch 50,123
Installs on Request (365 days)
fswatch 32,180

Analytics (Linux):

Installs (30 days)
fswatch 68
Installs on Request (30 days)
fswatch 39
Build Errors (30 days)
fswatch 0
Installs (90 days)
fswatch 248
Installs on Request (90 days)
fswatch 80
Installs (365 days)
fswatch 1,881
Installs on Request (365 days)
fswatch 396
Fork me on GitHub