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 2ba46d9 commit 3c88fd2Copy full SHA for 3c88fd2
generator/templates/base/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 || process.env.IS_TEST) {
+ if (process.env.WEBPACK_DEV_SERVER_URL) {
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