Skip to content

Commit cfcd54b

Browse files
fix sync of modules when forking
1 parent 11613f1 commit cfcd54b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/app/src/app/overmind/namespaces/editor/internalActions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ export const forkSandbox: AsyncAction<{
316316
state.editor.sandboxes[state.editor.currentId],
317317
forkedSandbox
318318
);
319+
state.editor.modulesByPath = effects.vscode.fs.create(forkedSandbox);
319320
effects.preview.updateAddressbarUrl();
320321
}
321322

0 commit comments

Comments
 (0)