diff --git a/aider/watch.py b/aider/watch.py index 2b21fe425..2b35384d6 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -70,6 +70,7 @@ def load_gitignores(gitignore_paths: list[Path]) -> Optional[PathSpec]: if not gitignore_paths: return None + # expand this set of patterns to include all manner of text editor temp files like .bak, ...~, etc ai! patterns = [".aider*", ".git"] # Always ignore for path in gitignore_paths: if path.exists():