watchexec/cli/tests/snapshots/help__help_windows.snap

55 lines
3.3 KiB
Plaintext
Raw Normal View History

2021-05-10 13:02:31 +02:00
---
source: cli/tests/help.rs
expression: String::from_utf8(output.stdout).unwrap()
---
2022-04-15 05:49:58 +02:00
watchexec 1.19.0
2021-05-10 13:02:31 +02:00
Execute commands when watched files change
USAGE:
2021-05-10 13:21:30 +02:00
watchexec.exe [FLAGS] [OPTIONS] <command>...
2021-05-10 13:02:31 +02:00
FLAGS:
-c, --clear Clear screen before executing command
-h, --help Prints help information
--no-default-ignore Skip auto-ignoring of commonly ignored globs
2021-12-29 09:36:42 +01:00
--no-environment Do not set WATCHEXEC_*_PATH environment variables for the command
2021-12-29 07:00:54 +01:00
--no-global-ignore Skip auto-loading of global or environment-wide ignore files
2021-05-10 13:02:31 +02:00
--no-meta Ignore metadata changes
2021-07-21 14:56:35 +02:00
--no-process-group Do not use a process group when running the command
--no-project-ignore Skip auto-loading of project ignore files (.gitignore, .ignore, etc)
2021-05-10 13:02:31 +02:00
-n, --no-shell Do not wrap command in a shell. Deprecated: use --shell=none instead.
--no-vcs-ignore Skip auto-loading of VCS (Git, etc) ignore files
2021-12-24 07:14:57 +01:00
-N, --notify Send a desktop notification when the command ends
2021-05-10 13:02:31 +02:00
-p, --postpone Wait until first change to execute command
2021-08-24 12:53:44 +02:00
--print-events Print events that trigger actions
2021-05-10 13:02:31 +02:00
-r, --restart Restart the process if it's still running. Shorthand for --on-busy-update=restart
-V, --version Prints version information
2022-01-15 03:14:25 +01:00
-v, --verbose Print debugging messages (-v, -vv, -vvv, -vvvv; use -vvv for bug reports)
2021-05-10 13:02:31 +02:00
OPTIONS:
2022-04-15 05:34:07 +02:00
-E, --env <name=value>... Add an environment variable to the command
--workdir <path> Change the working directory of the command
2021-05-10 13:02:31 +02:00
-d, --debounce <milliseconds> Set the timeout between detected change and command execution, defaults to
2022-04-15 05:34:07 +02:00
50ms
2021-05-10 13:02:31 +02:00
-e, --exts <extensions> Comma-separated list of file extensions to watch (e.g. js,css,html)
-f, --filter <pattern>... Ignore all modifications except those matching the pattern
-i, --ignore <pattern>... Ignore modifications to paths matching the pattern
--on-busy-update <on-busy-update> Select the behaviour to use when receiving events while the command is
running. Current default is queue, will change to do-nothing in 2.0.
[possible values: do-nothing, queue, restart, signal]
-w, --watch <path>... Watch a specific file or directory
--force-poll <interval> Force polling mode (interval in milliseconds)
2022-01-25 16:19:07 +01:00
--project-origin <path> Override the project origin: the directory from which ignore files are
detected
2021-05-10 13:02:31 +02:00
--shell <shell> Use a different shell, or `none`. Try --shell=powershell, which will become
the default in 2.0.
-s, --signal <signal> Specify the signal to send when using --on-busy-update=signal
2021-05-10 13:02:31 +02:00
ARGS:
<command>... Command to execute
Use @argfile as first argument to load arguments from the file `argfile` (one argument per line) which will be inserted
in place of the @argfile (further arguments on the CLI will override or add onto those in the file).
2021-08-24 12:53:44 +02:00