mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-20 17:38:28 +00:00
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.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…
x
Reference in New Issue
Block a user