Not show dev tools on each run? #1400
Answered
by
nklayman
skythomp16
asked this question in
Q&A
-
Hey guys, Loving this plugin but is there any way to NOT open the dev tools every time the project is ran with electron:serve? I tried looking at the dist_electron/index.js code and couldn't see where that call was happening but there is a LOT of code in that file. Skyler |
Beta Was this translation helpful? Give feedback.
Answered by
nklayman
Jun 2, 2021
Replies: 1 comment
-
Remove this line from your if (!process.env.IS_TEST) win.webContents.openDevTools() The |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nklayman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Remove this line from your
src/background.js
file:The
dist_electron/index.js
is generated by webpack using thesrc/background.js
file as the entry.