bug en gulpfile si se cierra inesperadamente nging
This commit is contained in:
parent
6d4a4af3da
commit
7aa977e071
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue