Skip to content

Commit 69dc189

Browse files
fix rewriting file after save to server
1 parent 8369491 commit 69dc189

File tree

1 file changed

+1
-0
lines changed
  • packages/app/src/app/overmind/namespaces/files

1 file changed

+1
-0
lines changed

packages/app/src/app/overmind/namespaces/files/actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ export const moduleCreated: AsyncAction<{
472472
module.id = updatedModule.id;
473473
module.shortid = updatedModule.shortid;
474474

475+
effects.vscode.fs.writeFile(state.editor.modulesByPath, module);
475476
state.editor.currentModuleShortid = module.shortid;
476477

477478
if (state.live.isCurrentEditor) {

0 commit comments

Comments
 (0)