Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 401 Bytes

nodemon.md

File metadata and controls

15 lines (11 loc) · 401 Bytes

Watch for file changes and run a command:

nodemon --watch <folder> --exec <command> --ext <extension>
Example On the app folder, watch for changes on .rb files, and run ./bar.sh when that happens:
nodemon --watch "app" --exec "./bar.sh" --ext ".rb"