From 3b8a771909594a8a40167c431b842250bf5984e5 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 27 Nov 2024 16:15:08 -0800 Subject: [PATCH] refactor: Move FileWatcher initialization to __init__ method --- aider/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index 5fdd1df6a..a832e4f2f 100644 --- a/aider/io.py +++ b/aider/io.py @@ -391,7 +391,7 @@ class InputOutput: ): self.rule() - # Initialize and start the file watcher + # ai: initialize this in __init__! self.file_watcher = FileWatcher(root, encoding=self.encoding) gitignore = [str(Path(root) / ".gitignore")] self.file_watcher.start(gitignores=gitignore)