mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fix: Pass root to FileWatcher
This commit is contained in:
parent
e7bec5be1d
commit
9bebb1e9a9
1 changed files with 2 additions and 1 deletions
|
@ -870,9 +870,10 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
if args.aiderignore:
|
||||
ignores.append(args.aiderignore)
|
||||
|
||||
# if args.subtree_only, pass root=os.cwd ai!
|
||||
if args.watch_files:
|
||||
file_watcher = FileWatcher(
|
||||
coder, gitignores=ignores, verbose=args.verbose, analytics=analytics
|
||||
coder, gitignores=ignores, verbose=args.verbose, analytics=analytics,
|
||||
)
|
||||
coder.file_watcher = file_watcher
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue