mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 04:05:04 +00:00
refactor: move FileWatcher initialization to main.py
This commit is contained in:
parent
920917a47e
commit
2f78b6f7f3
2 changed files with 4 additions and 3 deletions
|
@ -800,7 +800,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
ignores.append(str(Path(git_root) / ".gitignore"))
|
||||
if args.aiderignore:
|
||||
ignores.append(args.aiderignore)
|
||||
io.file_watcher = FileWatcher(coder.root, encoding=io.encoding, gitignores=ignores)
|
||||
FileWatcher(coder, encoding=io.encoding, gitignores=ignores)
|
||||
|
||||
coder.show_announcements()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue