entr

Run arbitrary commands when files change

brewmacoslinux
Try with needOr install directly
Source

About

Run arbitrary commands when files change

Commands

entr

Examples

Rerun tests whenever source files change$ ls src/*.js | entr npm test
Rebuild documentation when markdown files change$ ls docs/*.md | entr make docs
Restart a server when config files are modified$ ls config/* app.js | entr -r ./server.js