Browse Source

fix dev renderer

master
jeffvli 3 years ago
parent
commit
7601626f38
  1. 10
      .erb/configs/webpack.config.renderer.dev.babel.js

10
.erb/configs/webpack.config.renderer.dev.babel.js

@ -260,5 +260,15 @@ export default merge(baseConfig, {
verbose: true,
disableDotRule: false,
},
before() {
console.log('Starting Main Process...');
spawn('npm', ['run', 'start:main'], {
shell: true,
env: process.env,
stdio: 'inherit',
})
.on('close', (code) => process.exit(code))
.on('error', (spawnError) => console.error(spawnError));
},
},
});

Loading…
Cancel
Save