projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: add -- global flag
[webi-installers/.git]
/
watchexec
/
README.md
diff --git
a/watchexec/README.md
b/watchexec/README.md
index 1f5429a351dc270a18c54c14a1eaffb4b29a6235..f3ee6bd11d9a3a08c2f1b0cfb4ad436e85740cf5 100644
(file)
--- a/
watchexec/README.md
+++ b/
watchexec/README.md
@@
-5,19
+5,15
@@
tagline: |
watchexec is a simple, standalone tool that watches a path and runs a command whenever it detects modifications.
---
watchexec is a simple, standalone tool that watches a path and runs a command whenever it detects modifications.
---
-### Updating `watchexec`
-
-`webi watchexec@stable`
-
-Use the `@beta` tag for pre-releases.
+To update or switch versions, run `webi watchexec@stable` (or `@v1.17`, `@beta`,
+etc).
## Cheat Sheet
`watchexec` runs a given command when any files in watched directories change. \
It respects `.[git]ignore`.
## Cheat Sheet
`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
```txt
-w, --watch ./src/ watch the given directory
@@
-52,9
+48,9
@@
Here's a "kitchen sink" example.
```bash
watchexec -c -r -s SIGKILL -d 2000 -W --verbose \
```bash
watchexec -c -r -s SIGKILL -d 2000 -W --verbose \
- -w ./src -w ./
lib -w ./
server.js \
- -e
ts,js,sas
s,css,html \
- -i '
.git' '*.min.js' -i '*.min.css
' \
+ -w ./src -w ./server.js \
+ -e
j
s,css,html \
+ -i '
*.md' -i 'package-lock.json
' \
-- npm run build
```
-- npm run build
```