Conditional task, with "else" callback (optional) : gulp.src(source).pipe( ifElse(condition, ifCallback, elseCallback) )