Join GitHub today
Watch only directories containing target files #7
Currently, goemon watches all directories under the current directory.
In Mac, fsnotify.Add opens all files under the directory, which is likely to cause "too many open files" error.
This PR checks whether a directory contains a file which matches the pattern specified by the user before adding to fsnotify.
here are my