From e509ed0b1856286d73e19ef4c7c4d0dd61e5ad65 Mon Sep 17 00:00:00 2001 From: Chris Aumann Date: Thu, 6 Apr 2017 22:53:14 +0200 Subject: [PATCH 1/2] Remove unnecessary space from watchexec.1.html --- doc/watchexec.1.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/watchexec.1.html b/doc/watchexec.1.html index 765f5cc..071e13d 100644 --- a/doc/watchexec.1.html +++ b/doc/watchexec.1.html @@ -88,7 +88,7 @@
command

Command to run when watched files are modified, and at startup, unless --postpone is specified. All arguments are passed to command.

-e, --exts extensions

Comma-separated list of file extensions to filter by. Leading dots are allowed (.rs) are allowed. (This is a shorthand for -f).

-f, --filter pattern

Ignores modifications from paths that do not match pattern. This option can be specified multiple times, where a match on any given pattern causes the path to trigger command.

-
-s, --signal SIGNAL

Sends the specified signal (e.g. SIGKILl) to the child process. Defaults to SIGTERM.

+
-s, --signal SIGNAL

Sends the specified signal (e.g. SIGKILl) to the child process. Defaults to SIGTERM.

-i, --ignore pattern

Ignores modifications from paths that match pattern. This option can be specified multiple times, and a match on any pattern causes the path to be ignored.

-w, --watch path

Monitor a specific path for changes. By default, the current working directory is watched. This may be specified multiple times, where a change in any watched directory (and subdirectories) causes command to be executed.

-r, --restart

Terminates the child process group if it is still running when subsequent file modifications are detected. By default, sends SIGTERM; use --kill to send SIGKILL.

From 5b486e2ae6873de737edfde12e28da2ce803e56e Mon Sep 17 00:00:00 2001 From: Chris Aumann Date: Wed, 5 Apr 2017 17:55:15 +0200 Subject: [PATCH 2/2] Remove deprecated comment (before_exec) --- src/process.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/process.rs b/src/process.rs index b0b7ff9..c95ffc4 100644 --- a/src/process.rs +++ b/src/process.rs @@ -40,7 +40,6 @@ mod imp { command.env("WATCHEXEC_COMMON_PATH", common_path); } - // Until process_exec lands in stable, handle fork/exec ourselves command .before_exec(|| setpgid(0, 0).map_err(io::Error::from)) .spawn()