From 812cefafb174dfbcfc0b474051ea962413fcfcf1 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 11 Jun 2018 15:55:57 -0400 Subject: [PATCH] kill processes when they are over --- lib/pipeline/pipeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); },