Merge pull request #79 from talamus/master

Fixed the broken -e command line option
pull/82/head
Dave Musicant 4 years ago committed by GitHub
commit e4064fdf13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,14 +156,14 @@ if [ -z "$GW_INW_BIN" ]; then
# if Mac, use fswatch
if [ "$(uname)" != "Darwin" ]; then
INW="inotifywait";
EVENTS="close_write,move,delete,create";
EVENTS="${EVENTS:-close_write,move,delete,create}"
else
INW="fswatch";
# default events specified via a mask, see
# https://emcrisostomo.github.io/fswatch/doc/1.14.0/fswatch.html/Invoking-fswatch.html#Numeric-Event-Flags
# default of 414 = MovedTo + MovedFrom + Renamed + Removed + Updated + Created
# = 256 + 128+ 16 + 8 + 4 + 2
EVENTS="--event=414"
EVENTS="${EVENTS:---event=414}"
fi;
else
INW="$GW_INW_BIN";

Loading…
Cancel
Save