Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ii-connect5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ii-connect b/bin/ii-connect
index 4b9ecec..50f61d4 100755
--- a/bin/ii-connect
+++ b/bin/ii-connect
@@ -43,10 +43,11 @@ if [ "$1" = 'watch' ]; then
# this avoids missing modifications during our last execution
if [ -z "${said}" ]; then
# shellcheck disable=SC2046
- inotifywait -e 'CLOSE_WRITE,CLOSE' $(
+ inotifywait -e 'CLOSE_WRITE,CLOSE' -e 'CREATE,ISDIR' $(
find "${irc_dir}" \
-type f \
- -name 'out'
+ -name 'out' -o \
+ -type d
)
fi
said=$(