From 14941c89d28b8ae5da405ada933e2f0ace00e6ca Mon Sep 17 00:00:00 2001 From: Chris Aumann Date: Thu, 23 Mar 2017 23:51:40 +0100 Subject: [PATCH] Add SIGHUP example to README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index abfd20c..4db681c 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,10 @@ Call/restart `my_server` when any file in the current directory (and all subdire $ watchexec -r -s SIGKILL my_server +Send a SIGHUP to the child process upon changes: + + $ watchexec -s SIGHUP my_server + Run `make` when any file changes, using the `.gitignore` file in the current directory to filter: $ watchexec make