diff --git a/lib/pipeline/pipeline.js b/lib/pipeline/pipeline.js index ca61b515..7d7a0e54 100644 --- a/lib/pipeline/pipeline.js +++ b/lib/pipeline/pipeline.js @@ -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); }); },