We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d63a508 commit fa3ed4cCopy full SHA for fa3ed4c
packages/streamwall/src/main/index.ts
@@ -340,11 +340,7 @@ async function main(argv: ReturnType<typeof parseArgs>) {
340
console.debug('Reloading view:', msg.viewIdx)
341
streamWindow.reloadView(msg.viewIdx)
342
} else if (msg.type === 'browse' || msg.type === 'dev-tools') {
343
- if (
344
- msg.type === 'dev-tools' &&
345
- browseWindow &&
346
- !browseWindow.isDestroyed()
347
- ) {
+ if (browseWindow && !browseWindow.isDestroyed()) {
348
// DevTools needs a fresh webContents to work. Close any existing window.
349
browseWindow.destroy()
350
browseWindow = null
0 commit comments