Skip to content
generated from egoist/ts-lib-starter

Run a command when a certain file exists, and/or watch files to rerun on changes

License

Notifications You must be signed in to change notification settings

egoist/lets-run

Repository files navigation

💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.


lets-run

npm version npm downloads

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

sponsors

License

MIT © EGOIST

About

Run a command when a certain file exists, and/or watch files to rerun on changes

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published