How to use gulp browserSync plugin to make sass errors? here is the config
gulp.task('sass', function(){ return gulp.src('app/sass/**/*.sass') .pipe(sass({outputStyle:'expanded'}).on('error', sass.logError)) .pipe(autoprefixer(['last 15 versions', '> 1%', 'ie 8', 'ie 7'], { cascade: true })) .pipe(gulp.dest('app/css')) .pipe(browserSync.reload({stream: true})) }); gulp.task('browser-sync', function() { browserSync({ server: { baseDir: 'app' }, notify: false }); });