github.com/halimath/globwatch (go): Package globwatch implements a filesystem watcher that supports recursive watching using an extended glob pattern syntax.  The glob pattern syntax is descibed in github.com/halimath/globwatch/pattern.  The watcher is implemented based on a directory polling which periodically uses fs.WalkDir to walk a directory and check each file for changes. The watcher does not rely on kernel support like inotify or kqueue. The decision to work around these kernel features was made to support a large number of files and directories to watch. Especially with kqueue on MacOS you can quickly hit the open files limit.
Keywords: filesystem|go|golang|watcher