Skip to content
Permalink
Browse files

fix(starter): pass through env to started application

  • Loading branch information
MarshallOfSound committed Dec 7, 2016
1 parent c6ededf commit 834729fb64f25664ff94c564c39d9c5b54a3f4cf
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/electron-forge-start.js
@@ -36,10 +36,10 @@ const main = async () => {
spawn(process.execPath, [path.resolve(dir, 'node_modules/.bin/electron'), '.'].concat(process.argv.slice(2)), {
cwd: dir,
stdio: 'inherit',
env: program.enableLogging ? {
env: Object.assign({}, process.env, program.enableLogging ? {
ELECTRON_ENABLE_LOGGING: true,
ELECTRON_ENABLE_STACK_DUMPING: true,
} : {},
} : {}),
});

startSpinner.succeed();

0 comments on commit 834729f

Please sign in to comment.
You can’t perform that action at this time.