From ef7050892e78def406b6ab3c1bdd3e901316b2cd Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 27 Oct 2015 12:21:34 +0100 Subject: [PATCH] build(gulp): don't exit prematurely during cleanup Before this change we would exit while there were cleanup micro tasks scheduled for executions, this caused tmp files to be left over and consume a lot of space. Fixes #4441 --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index cf6eac22f6..94ae0c972a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1295,8 +1295,9 @@ process.on('SIGINT', function() { runSequence('cleanup.builder', function () { process.exit(); }); + } else { + process.exit(); } - process.exit(); });