diff --git a/aider/watch.py b/aider/watch.py index 82285ccef..7ae4d06ba 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -10,6 +10,7 @@ from watchfiles import watch from aider.dump import dump # noqa + def is_source_file(path: Path) -> bool: """ Check if a file is a source file that uses # or // style comments.