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 monterey
big sur
catalina
mojave
64-bit linux
Apple Silicon monterey
big sur

Current versions:

stable 1.16.0

Analytics (macOS):

Installs (30 days)
fswatch 3,498
Installs on Request (30 days)
fswatch 1,949
Build Errors (30 days)
fswatch 0
Installs (90 days)
fswatch 9,400
Installs on Request (90 days)
fswatch 6,098
Installs (365 days)
fswatch 45,061
Installs on Request (365 days)
fswatch 29,548

Analytics (Linux):

Installs (30 days)
fswatch 126
Installs on Request (30 days)
fswatch 28
Build Errors (30 days)
fswatch 0
Installs (90 days)
fswatch 344
Installs on Request (90 days)
fswatch 89
Installs (365 days)
fswatch 1,361
Installs on Request (365 days)
fswatch 407
Fork me on GitHub