Answer the question
In order to leave comments, you need to log in
How to set up browser-sync?
how to set up browser -sync on the site and did not understand can someone tell me
var gulp = require('gulp');
var sass = require('gulp-sass');
gulp.task('sass',function(){
gulp.src('./project1/**/*.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('./project1'));
});
gulp.task('sass:watch',function(){
gulp.watch('./project1//**/*.scss', ['sass']);
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question