gulp.task('sass', function () {
return gulp.src('./assets/scss/*.scss')
.pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError))
.pipe(autoprefixer({
browsers: ["last 50 versions", "ie >= 9"],
cascade: false
}))
.pipe(gulp.dest('./assets/css'));
});
gulp.task('watch', function() {
gulp.watch('./assets/scss/*.scss', gulp.series('sass'));
});