mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
refactor: Move FileWatcher initialization to __init__ method
This commit is contained in:
parent
f9bcfa14e0
commit
3b8a771909
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ class InputOutput:
|
||||||
):
|
):
|
||||||
self.rule()
|
self.rule()
|
||||||
|
|
||||||
# Initialize and start the file watcher
|
# ai: initialize this in __init__!
|
||||||
self.file_watcher = FileWatcher(root, encoding=self.encoding)
|
self.file_watcher = FileWatcher(root, encoding=self.encoding)
|
||||||
gitignore = [str(Path(root) / ".gitignore")]
|
gitignore = [str(Path(root) / ".gitignore")]
|
||||||
self.file_watcher.start(gitignores=gitignore)
|
self.file_watcher.start(gitignores=gitignore)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue