emcrisostomo / fswatch

A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.
https://emcrisostomo.github.io/fswatch/
GNU General Public License v3.0
5.06k stars 330 forks source link

--exclude doesn't work? #213

Closed netjune closed 6 years ago

netjune commented 6 years ago

I tried the followings, they all didn't ignore the file "test.sh".

fswatch -r -t -x --exclude '.*\.sh' .
fswatch -r -t -x --exclude '.*\\.sh' .
fswatch -r -t -x --exclude '*.sh' .
fswatch -r -t -x --exclude '*sh' .
emcrisostomo commented 6 years ago

There's not sufficient information to troubleshoot this (OS, monitor, unexpected output).

emcrisostomo commented 6 years ago

Just as an idea, please check #210 and see whether that may be happening to you.