From 79781139d55fe7462ea10c7ee5f65c5443d06bff Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Tue, 22 Sep 2026 09:11:50 +0200 Subject: [PATCH] fix: sync ai file edits through the existing files effect --- frontend/src/lib/components/raw_apps/RawAppEditor.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/raw_apps/RawAppEditor.svelte b/frontend/src/lib/components/raw_apps/RawAppEditor.svelte index 1b8578c3ef..d59b151849 100644 --- a/frontend/src/lib/components/raw_apps/RawAppEditor.svelte +++ b/frontend/src/lib/components/raw_apps/RawAppEditor.svelte @@ -995,8 +995,8 @@ } files[path] = content // AI edits must not switch away from the file the user is editing. + // The files effect syncs the iframe; a direct update here races it. ensureFileTab(path) - setFilesInIframe(files) return lint() }, deleteFrontendFile: (path) => {