kill processes when they are over

This commit is contained in:
Jonathan Rainville 2018-06-11 15:55:57 -04:00
parent 29599112de
commit 812cefafb1
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class Pipeline {
webpackProcess.send({action: constants.pipeline.build, file, importsList});
webpackProcess.once('result', constants.pipeline.built, (msg) => {
webpackProcess.disconnect();
webpackProcess.kill();
return next(msg.error);
});
},