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 ):