refactor: Update dump to filter roots_to_watch for tmp.benchmarks

This commit is contained in:
Paul Gauthier 2025-02-04 13:12:09 -08:00 committed by Paul Gauthier (aider)
parent 8440e881c0
commit da9ba0a26a

View file

@ -128,7 +128,7 @@ class FileWatcher:
else:
roots_to_watch = [str(self.root)]
dump("tmp.benchmarks" in roots_to_watch)
dump(list(d for d in roots_to_watch if "tmp.benchmarks" in d))
for changes in watch(
*roots_to_watch, watch_filter=self.filter_func, stop_event=self.stop_event
):