funzzy

Lightweight file watcher that runs commands when files change.

brewmacoslinux
Try with needOr install directly
Source

About

Lightweight file watcher

Commands

funzzy

Examples

run tests automatically when code changes$ funzzy init && echo '*.rs -> cargo test' >> .funzzy.yml
rebuild project whenever source files are modified$ funzzy watch 'src/**' --exec 'cargo build'
restart web server when config file is updated$ funzzy watch 'config.yaml' --exec 'systemctl restart myapp'
reformat code automatically on file save$ funzzy watch '*.js' --exec 'prettier --write .'
compile TypeScript to JavaScript on changes$ funzzy watch 'src/**/*.ts' --exec 'tsc'