mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
fix: correct aiderignore path handling for file watching
This commit is contained in:
parent
4b51bb2334
commit
f69dd0ef8d
1 changed files with 2 additions and 2 deletions
|
@ -798,7 +798,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
if git_root:
|
if git_root:
|
||||||
ignores.append(str(Path(git_root) / ".gitignore"))
|
ignores.append(str(Path(git_root) / ".gitignore"))
|
||||||
if args.aiderignore:
|
if args.aiderignore:
|
||||||
ignores.append(str(Path(git_root) / args.aiderignore))
|
ignores.append(args.aiderignore)
|
||||||
io.file_watcher = FileWatcher(coder.root, encoding=io.encoding, gitignores=ignores)
|
io.file_watcher = FileWatcher(coder.root, encoding=io.encoding, gitignores=ignores)
|
||||||
|
|
||||||
coder.show_announcements()
|
coder.show_announcements()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue