lets-run
Install
npm i lets-run -D
Usage
Run a command and watch files to rerun on changes:
lets-run "node dist/server.js" --watch "dist"
In a monorepo where one package depends on the output files of another package, you can use --on-path-exists <path>
flag:
lets-run "node dist/server.js" \
--watch "dist" \
--watch "../packages/another-package/dist" \
--on-path-exists "../packages/another-package/dist"
Sponsors
License
MIT © EGOIST