From 7b1488a0d223ba77248fafd124d46b7f708881fc Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 4 Jun 2018 10:08:08 +0200 Subject: bin/ii-connect: wath for new ims, too --- bin/ii-connect | 5 +++-- 1 file 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=$( -- cgit v1.2.3-54-g00ecf