don't auto save file when build

This commit is contained in:
codetypes committed 2025-12-15 18:55:47 +08:00
1 parent 66dec8371d
commit 8357b0621c
1 file changed
-3
-3
View File
@@ -382,9 +382,6 @@ export const useWorkspace = create<WorkspaceStore>((set, get) => ({
} }
} }
if (buildDir) { if (buildDir) {
for (const editor of workspace.editors) {
editor.dispatch?.("save");
}
const debug = console.debug; const debug = console.debug;
console.debug = () => {}; console.debug = () => {};
try { try {