feat: update coder tracked files when AI comments detected

This commit is contained in:
Paul Gauthier (aider) 2024-11-27 16:31:19 -08:00
parent 2ff63aaebf
commit 59ce26f28a

View file

@ -139,7 +139,8 @@ class FileWatcher:
if VERBOSE:
dump(result)
if result:
# ai directly update coder.abs_fnames!
# Update coder's tracked files and interrupt input
self.coder.abs_fnames.update(changed_files)
self.coder.io.interrupt_input()
return
except Exception as e: