Skip to content

Commit

Permalink
close server after metrics are done in gulp recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
denar90 committed Feb 7, 2017
1 parent 5752b6a commit b3d2fc9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/gulp/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ gulp.task('pwmetrics', function() {
}
});
return pwMetrics.start()
.then(_ => { process.exit(0) })
.then(_ => {
connect.serverClose();
process.exit(0);
})
.catch(_ => handleError);
});

Expand Down

0 comments on commit b3d2fc9

Please sign in to comment.