Mentions légales du service

Skip to content
Snippets Groups Projects

Resolve "close preview when corresponding editor window is closed"

1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -120,6 +120,7 @@ async function createPreviewWindow(server, contentPath) {
devTools: true,
nodeIntegration: true,
},
parent: BrowserWindow.getFocusedWindow(),
});
previewWindow.webContents.on('did-finish-load', () => {
Loading