tools icon indicating copy to clipboard operation
tools copied to clipboard

Support more selective recursive watching

Open davidmorgan opened this issue 5 months ago • 4 comments

Feature request: give a way to watch [directory recursive contents - specified set of directories].

This looks really useful for cases where there is a nested temp or output directory, because such directory are much noisier than the ones we actually care about.

I guess I am also volunteering to have a look at implementing the feature :)

This is forked from https://github.com/dart-lang/tools/issues/1728 as just selectively ignoring directories would also be a way to address the same problem.

davidmorgan avatar Sep 04 '25 07:09 davidmorgan

This sounds valuable - being able to specify (via a pattern? a list of names? a callback?) - a set of sub-directories to not watch.

devoncarew avatar Sep 04 '25 16:09 devoncarew

I would use it ;)

davidmorgan avatar Sep 04 '25 16:09 davidmorgan

I guess I am also volunteering to have a look at implementing the feature :)

There isn't a specific owner of watcher right now; please feel very much empowered to follow up w/ a PR.

devoncarew avatar Sep 04 '25 16:09 devoncarew

Have someone made a proper general "include/exclude filter" implementation we could use?

Rather than make something specialized and limited.

lrhn avatar Sep 05 '25 18:09 lrhn