From 2eb7f78248085e18bd0ad3b4a35b2f393d590152 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 1 Dec 2024 07:55:38 -0800 Subject: [PATCH] refactor: Move bang check logic to file change detection --- aider/watch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/watch.py b/aider/watch.py index 6fd2a85b2..5797ba051 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -163,6 +163,7 @@ class FileWatcher: """Get any detected file changes""" for fname in self.changed_files: + # ai actually, check for bangs up here, not down below! if fname in self.coder.abs_fnames: continue self.coder.abs_fnames.add(fname)