Merge pull request #507 from embark-framework/bug_fix/webpack-piling

kill webpack processes when they are done
This commit is contained in:
Iuri Matias 2018-06-11 17:31:30 -04:00 committed by GitHub
commit 787162575e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
});
},