Add --notify and --print-events to completion

This commit is contained in:
Félix Saparelli 2022-01-15 15:25:47 +13:00
parent da6f9cfc55
commit be5782432a
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ args=(
'(-W --watch-when-idle)'{-W,--watch-when-idle}'[Ignore events while the command is still running]'
'(-V --version)'{-V,--version}'[Prints version information]'
'(-v --verbose)'{-v,-vv,-vvv,-vvvv,--verbose}'[Print debugging messages to stderr]'
'--changes-only[Print changed paths to stderr for pattern debugging]'
'(-N --notify)'{-N,--notify}'[Send desktop notifications on command start and end]'
'--print-events[Print triggering events to stderr (changed paths, etc)]'
'(-d --debounce)'{-d+,--debounce=}'[Set the timeout between detected change and command execution, defaults to 100ms]: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'