From da9ba0a26ac880090f13808f923ac7e8f98b3e90 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 4 Feb 2025 13:12:09 -0800 Subject: [PATCH] refactor: Update dump to filter roots_to_watch for tmp.benchmarks --- aider/watch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/watch.py b/aider/watch.py index 5a305882e..42f37dbe9 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -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 ):