From 70edb62a6ba113e08f3ef379e52727c5db17d32f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 25 Oct 2024 13:24:06 -0700 Subject: [PATCH] feat: pass encoding parameter to watch_source_files function --- aider/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index 095a985f1..728f5d79b 100644 --- a/aider/io.py +++ b/aider/io.py @@ -374,7 +374,7 @@ class InputOutput: try: gitignore = [str(Path(root) / ".gitignore")] for changed in watch_source_files( - root, stop_event=stop_event, gitignores=gitignore + root, stop_event=stop_event, gitignores=gitignore, encoding=self.encoding ): if changed: self.changed_files = list(changed)