Any reason why this works fine before but not after a gilp.dest()?
gulp.src(filePath)
.pipe(gulp.dest(targetPath))
.pipe($.htmlSrc({ selector: 'img'}))
.pipe($.tap(function(file){
console.log('IMG',file);
return file;
}));
});
nothing consoles out.
However..
gulp.src(filePath)
.pipe($.tap(function(file){
console.log('IN',file);
return file;
}))
.pipe(gulp.dest(targetPath))
.pipe($.tap(function(file){
console.log('OUT',file);
return file;
}))
.pipe($.htmlSrc({ selector: 'img'}))
.pipe($.tap(function(file){
console.log('IMG',file);
return file;
The IN and OUT consoles look like the exact same output.
Any reason why this works fine before but not after a
gilp.dest()?nothing consoles out.
However..
The IN and OUT consoles look like the exact same output.