From 8a643c371a7b975bdbc9145ec3ea3c86aa40c6b6 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 1 Oct 2020 21:50:52 +0000 Subject: [PATCH] update watchexec/README.md --- watchexec/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 ``` -- 2.25.1