Answer the question
In order to leave comments, you need to log in
Why gulp collects pug and scss in 5 - 10 seconds?
My tasks are below. What should I change in them so that they rebuild only what I changed, and not everything that is?
gulp.task('jade', function() {
return gulp.src('source/include/**/*.jade')
.pipe(jade())
.pipe(gulp.dest('public'));
});
gulp.task('styles', function () {
return gulp.src('source/styles/scss/**/*.scss')
.pipe(sass())
.pipe(rename('all.min.css'))
.pipe(gulp.dest('public/css'))
});
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