diff --git a/recipes/gulp/gulpfile.js b/recipes/gulp/gulpfile.js index 28aee3e..23b1f5e 100644 --- a/recipes/gulp/gulpfile.js +++ b/recipes/gulp/gulpfile.js @@ -45,7 +45,10 @@ gulp.task('pwmetrics', function() { } }); return pwMetrics.start() - .then(_ => { process.exit(0) }) + .then(_ => { + connect.serverClose(); + process.exit(0); + }) .catch(_ => handleError); });