From 7a9091fcae7eb7c6233a62da1e721d2fac892317 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 25 Oct 2024 16:00:53 -0700 Subject: [PATCH] refactor: disable verbose mode and add comment for changed_file handling --- aider/watch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/watch.py b/aider/watch.py index 5e2cd7252..cd7673447 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -8,7 +8,7 @@ from watchfiles import watch from aider.dump import dump # noqa -VERBOSE = True +VERBOSE = False def is_source_file(path: Path) -> bool: @@ -131,7 +131,7 @@ def watch_source_files( changed_files = {str(Path(change[1])) for change in changes} yield changed_files - +# ai: for each changed_file, return the filename and the contents of the "ai" comment (all the way to end of line) def main(): """Example usage of the file watcher""" import argparse