diff options
author | Erich Eckner <git@eckner.net> | 2018-06-04 10:08:08 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-04 10:08:08 +0200 |
commit | 7b1488a0d223ba77248fafd124d46b7f708881fc (patch) | |
tree | 6166460e35606304abcc277c740f3be185c46318 /bin | |
parent | 30170575fb8d6b1527bcb76607ae2fb0c515f922 (diff) | |
download | builder-7b1488a0d223ba77248fafd124d46b7f708881fc.tar.xz |
bin/ii-connect: wath for new ims, too
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ii-connect | 5 |
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=$( |