gulp.task('sass-compile', function () {
return gulp.src('scss/main.scss')
.pipe(plumber())
.pipe(sourceMaps.init())
.pipe(sass().on('error' , sass.logError))
.pipe(autoprefixer({
browers: ['last 2 version']
}))
.pipe(sourceMaps.write('.'))
.pipe(gulp.dest('./css/'))
.pipe(browserSync.stream())
});
requestAnimationFrame
): https://jsfiddle.net/rw6c35ep/