Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "gulp-query", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Your workflow will be easier", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -124,3 +124,2 @@ const gulp = require('gulp'); | ||
gulp.task('watch', ['default'], this.watch.bind(this)); | ||
this._isWatching = true; | ||
@@ -173,3 +172,5 @@ } | ||
if (!this._isWatching) { | ||
if (this._isWatching) { | ||
gulp.task('watch', /*gulp.series(['default']),*/ this.watch.bind(this)); | ||
} else { | ||
process.on('beforeExit', () => { | ||
@@ -179,2 +180,3 @@ this.report.draw(); | ||
} | ||
} | ||
@@ -202,3 +204,3 @@ | ||
files.forEach((file) => { | ||
gulp.watch(file, [task]); | ||
gulp.watch(file, gulp.series([task])); | ||
}) | ||
@@ -205,0 +207,0 @@ }); |
Sorry, the diff of this file is not supported yet
33713
373