Skip to content

Commit

Permalink
Open webContent devTools if in development
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukaii committed Mar 19, 2017
1 parent 5c7de45 commit 4bcd424
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion renderer.js
Expand Up @@ -92,7 +92,9 @@ onload = () => {
win.close();
}

// webview.openDevTools();
if (process.env.NODE_ENV === 'development') {
webview.openDevTools();
}
});

/* handle ipc actions */
Expand Down

0 comments on commit 4bcd424

Please sign in to comment.