diff --git a/completions/zsh b/completions/zsh index 048138b..6b0e096 100644 --- a/completions/zsh +++ b/completions/zsh @@ -19,6 +19,7 @@ args=( '(-r --restart)'{-r,--restart}'[Restart the process if it''s still running]' '(-V --version)'{-V,--version}'[Prints version information]' '(-v --verbose)'{-v,--verbose}'[Print debugging messages to stderr]' + '--changes-only[Print changed paths to stderr for pattern debugging]' '(-d --debounce)'{-d+,--debounce=}'[Set the timeout between detected change and command execution, defaults to 500ms]:milliseconds' '(-e --exts)'{-e+,--exts=}'[Comma-separated list of file extensions to watch (js,css,html)]:extensions' '(-f --filter)'{-f+,--filter=}'[Ignore all modifications except those matching the pattern]:pattern' diff --git a/doc/watchexec.1.ronn b/doc/watchexec.1.ronn index b885001..6679314 100644 --- a/doc/watchexec.1.ronn +++ b/doc/watchexec.1.ronn @@ -3,7 +3,7 @@ watchexec(1) -- execute commands when watched files change ## SYNOPSIS -watchexec [`--exts` | `-e` ]... [`--filter` | `-f` ]... [`--ignore` | `-i` ]... [`--watch` | `-w` ]... [`--restart` | `-r`] [`--clear` | `-c`] [`--postpone` | `-p`] [`--force-poll` ] [`--debounce` | `-d` ] [`--no-vcs-ignore`] [`--no-default-ignore`] [`--verbose` | `-v`] [`--version` | `-V`] [--] [...] +watchexec [`--exts` | `-e` ]... [`--filter` | `-f` ]... [`--ignore` | `-i` ]... [`--watch` | `-w` ]... [`--restart` | `-r`] [`--clear` | `-c`] [`--postpone` | `-p`] [`--force-poll` ] [`--debounce` | `-d` ] [`--no-vcs-ignore`] [`--no-default-ignore`] [`--verbose` | `-v`] [`--changes-only`] [`--version` | `-V`] [--] [...] ## DESCRIPTION @@ -62,7 +62,10 @@ Skip loading of version control system (VCS) ignore files. By default, watchexec Skip default ignore statements. By default, watchexec ignores common temporary files for you, for example `*.swp`, `*.pyc`, and `.DS_Store`. * `-v`, `--verbose`: -Prints diagnostic messages to STDERR +Prints diagnostic messages to STDERR. + +* `--changes-only`: +Prints the paths that have changed as diagnostics to STDERR, but not everything else that `--verbose` prints. * `-V`, `--version`: Print the version of watchexec.