INNER CODE UNIT · JavaScript
waitTimeout
nklayman/vue-cli-plugin-electron-builder · index.js:451
const waitTimeout = setTimeout(() => {
// If killing Electron takes over 500ms:
info('Waiting for Electron to exit...')
}, 500)
await killElectron()
clearTimeout(waitTimeout)
// Don't launch if a new background file is being bundled
queuedBuilds--
if (queuedBuilds > 0) return
if (args.debug) {
// Do not launch electron and provide instructions on launching through debugger
info(
'Not launching electron as debug argument was passed. You must launch electron through your debugger.'
)
info(
'If you are using Spectron, make sure to set the IS_TEST env variable to true.'
)