mirror of https://github.com/embarklabs/embark.git
Merge pull request #507 from embark-framework/bug_fix/webpack-piling
kill webpack processes when they are done
This commit is contained in:
commit
787162575e
|
@ -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);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue