From 8357b0621c7cd033d7424fcdec3d38f69ba829af Mon Sep 17 00:00:00 2001 From: codetypes Date: Mon, 15 Dec 2025 18:55:47 +0800 Subject: [PATCH] don't auto save file when build --- src/contexts/workspace-context.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/contexts/workspace-context.ts b/src/contexts/workspace-context.ts index 7abb8ea..be96eb0 100644 --- a/src/contexts/workspace-context.ts +++ b/src/contexts/workspace-context.ts @@ -382,9 +382,6 @@ export const useWorkspace = create((set, get) => ({ } } if (buildDir) { - for (const editor of workspace.editors) { - editor.dispatch?.("save"); - } const debug = console.debug; console.debug = () => {}; try {