This is a feature request to enhance the ignore option to support simple glob patterns.
As an example, I recently came across this PR for nsfw that discusses such support for their library: Axosoft/nsfw#124
Bottom line: ignore patterns are very important on Linux at least, because of the operating system global limit of opened file handles, so you really need to exclude folders from the file watcher to not run into issues with opening too many file handles. Having support for glob patterns in the ignore option would mean, clients could define a pattern such as **/node_modules and have that work regardless of the folder they are in.
This is a feature request to enhance the
ignoreoption to support simple glob patterns.As an example, I recently came across this PR for
nsfwthat discusses such support for their library: Axosoft/nsfw#124Bottom line: ignore patterns are very important on Linux at least, because of the operating system global limit of opened file handles, so you really need to exclude folders from the file watcher to not run into issues with opening too many file handles. Having support for glob patterns in the ignore option would mean, clients could define a pattern such as
**/node_modulesand have that work regardless of the folder they are in.