💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.
npm i lets-run -D
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"
MIT © EGOIST