Skip to main content

cmd_args

Function cmd_args 

Source
fn cmd_args() -> Vec<OsString>
Expand description

Returns the env args without the --watch flag from the args for the Watchexec command.

args_os is used instead of args because the latter panics on an argument that is not valid Unicode, and a watched path is a PathBuf, which is allowed to be non-Unicode on Unix.