We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4b6922 commit 1d70cfbCopy full SHA for 1d70cfb
index.js
@@ -18,7 +18,7 @@ Gulp.prototype.watch = function(glob, opt, task) {
18
}
19
20
var fn;
21
- if (task) {
+ if (typeof task === 'function') {
22
fn = this.parallel(task);
23
24
0 commit comments