Skip to content

Code inject of Browser-sync not work #24

Description

@barcia

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions