2
0
mirror of https://github.com/gitwatch/gitwatch synced 2024-11-15 06:12:52 +00:00

Add 'modify' event as well

This commit is contained in:
Matt Kotsenas 2020-05-29 16:34:17 -07:00
parent fc17c7def4
commit 011b982e72

View File

@ -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