X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=watchexec%2FREADME.md;h=f08dd16d549b11179852c1b1c666630d340b985f;hb=0aa421a04287a0b423f3aa5d64682d0590bf1e18;hp=1f5429a351dc270a18c54c14a1eaffb4b29a6235;hpb=7702fbab782c71e14a0da2956b0219c033694c98;p=webi-installers%2F.git diff --git a/watchexec/README.md b/watchexec/README.md index 1f5429a..f08dd16 100644 --- a/watchexec/README.md +++ b/watchexec/README.md @@ -16,8 +16,7 @@ Use the `@beta` tag for pre-releases. `watchexec` runs a given command when any files in watched directories change. \ It respects `.[git]ignore`. -The full `--help` detailed and very useful. Here's the shortlist of what I find -most useful: +Here's the shortlist of options we've found most useful: ```txt -w, --watch ./src/ watch the given directory @@ -52,9 +51,9 @@ Here's a "kitchen sink" example. ```bash watchexec -c -r -s SIGKILL -d 2000 -W --verbose \ - -w ./src -w ./lib -w ./server.js \ - -e ts,js,sass,css,html \ - -i '.git' '*.min.js' -i '*.min.css' \ + -w ./src -w ./server.js \ + -e js,css,html \ + -i '*.md' -i 'package-lock.json' \ -- npm run build ```