kill processes when they are over
This commit is contained in:
parent
29599112de
commit
812cefafb1
|
@ -107,7 +107,7 @@ class Pipeline {
|
||||||
webpackProcess.send({action: constants.pipeline.build, file, importsList});
|
webpackProcess.send({action: constants.pipeline.build, file, importsList});
|
||||||
|
|
||||||
webpackProcess.once('result', constants.pipeline.built, (msg) => {
|
webpackProcess.once('result', constants.pipeline.built, (msg) => {
|
||||||
webpackProcess.disconnect();
|
webpackProcess.kill();
|
||||||
return next(msg.error);
|
return next(msg.error);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue