From 011b982e721941c71651cb51634caf7e211b1b49 Mon Sep 17 00:00:00 2001 From: Matt Kotsenas Date: Fri, 29 May 2020 16:34:17 -0700 Subject: [PATCH] Add 'modify' event as well --- gitwatch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitwatch.sh b/gitwatch.sh index 2552ca0..d954f16 100755 --- a/gitwatch.sh +++ b/gitwatch.sh @@ -156,7 +156,7 @@ if [ -z "$GW_INW_BIN" ]; then # if Mac, use fswatch if [ "$(uname)" != "Darwin" ]; then INW="inotifywait"; - EVENTS="${EVENTS:-close_write,move,move_self,delete,create}" + EVENTS="${EVENTS:-close_write,move,move_self,delete,create,modify}" else INW="fswatch"; # default events specified via a mask, see