Ignore files for watch outside of content

I’m running out of inotify watchers since a directory under static has thousands of files. As I read in another post the configuration ignoreFiles only considers files in the folder content. Is there also an option for “arbitrary” files/folders?

There has been a GitHub issue about this in the past that has grown stale.

I’m afraid that it’s not currently possible to do what you want.