From 7aa977e0719a823df42178938f0077bdd1ce8987 Mon Sep 17 00:00:00 2001 From: jgallego Date: Wed, 7 Feb 2018 12:14:41 +0100 Subject: [PATCH] bug en gulpfile si se cierra inesperadamente nging --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 6789bc3c3..15941c78d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -181,7 +181,7 @@ gulp.task('nginx-stop', ['nginx-conf'], async () => { return new Promise((resolve, reject) => { exec(command, err => { - if (err) return reject(err); + if (err && err.code != 1) return reject(err); resolve(); }); });