fsw

Monitor file system events and trigger actions on file changes

brewmacoslinux
Try with needOr install directly
Source

About

File change monitor with multiple backends

Commands

fsw

Examples

Monitor a directory and print file change events$ fsw /path/to/directory
Execute a command when files change in current directory$ fsw -x . 'echo File changed'
Monitor multiple paths and run a rebuild script on changes$ fsw src/ tests/ -x 'make build'