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 8dc5bba commit 86a89a6Copy full SHA for 86a89a6
generator/template/src/background.js
@@ -17,7 +17,7 @@ function createWindow () {
17
// Create the browser window.
18
win = new BrowserWindow({ width: 800, height: 600 })
19
20
- if (isDevelopment) {
+ if (isDevelopment || process.env.IS_TEST) {
21
// Load the url of the dev server if in development mode
22
win.loadURL(process.env.WEBPACK_DEV_SERVER_URL)
23
if (!process.env.IS_TEST) win.webContents.openDevTools()
0 commit comments