Skip to content

Commit 9eaf4c9

Browse files
committed
force new window when reopening (fix microsoft#135906)
1 parent 0f7f6e3 commit 9eaf4c9

File tree

1 file changed

+2
-1
lines changed
  • src/vs/platform/windows/electron-main

1 file changed

+2
-1
lines changed

src/vs/platform/windows/electron-main/window.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,8 @@ export class CodeWindow extends Disposable implements ICodeWindow {
687687
_: [] // we pass in the workspace to open explicitly via `urisToOpen`
688688
},
689689
urisToOpen: workspace ? [workspace] : undefined,
690-
forceEmpty
690+
forceEmpty,
691+
forceNewWindow: true
691692
});
692693
window.focus();
693694
}

0 commit comments

Comments
 (0)