Skip to content

Commit

Permalink
Merge pull request #56 from emily-curry/fix/windows-processes
Browse files Browse the repository at this point in the history
Fix(windows): Kill electron subprocess when main process exits.
  • Loading branch information
Karolis Šarapnickis authored Jul 19, 2021
2 parents fca5a9d + 176800a commit ed78864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/electron-snowpack/lib/command/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const getMain = () => {
`Starting an ${chalk.bold('electron')} process with arguments: ${log.stringify(args)}`,
{ verbose: true }
);
electron = execa('electron', args);
electron = execa('electron', args, { windowsHide: false });
electron.stdout.on('data', (message) => {
log.info(message, { label: 'electron' });
});
Expand Down

0 comments on commit ed78864

Please sign in to comment.