leaf

General purpose reloader that watches files and restarts processes on changes

brewmacoslinux
Try with needOr install directly
Source

About

General purpose reloader for all projects

Commands

leaf

Examples

Watch current directory and restart a Python script on file changes$ leaf python app.py
Watch specific directories and restart Node.js server$ leaf -d src,config node server.js
Ignore certain file patterns while watching for changes$ leaf -i '*.log,*.tmp' npm start