gulp-cached icon indicating copy to clipboard operation
gulp-cached copied to clipboard

Code inject of Browser-sync not work

Open barcia opened this issue 7 years ago • 0 comments

Hi, I am trying to configure gulp-cached in my streams, but code injection of Browser Sync not works.

This is my code:

gulp.task(config.css.task, function () {
	return gulp.src(config.css.source)
	.pipe(cache('css'))
	.pipe(sass(config.css.plugin.sass))
	.pipe(postcss(config.css.plugin.postcss))
	.pipe(gulp.dest(config.css.dist))
	.pipe(browserSync.stream());
});

Is not compatible with this feature? or do I have a bad configuration?

barcia avatar Feb 09 '18 10:02 barcia