Answer the question
In order to leave comments, you need to log in
What is wrong with my gulpfile.js?
var gulp = require('gulp');
var less = require('gulp-less');
gulp.task('less', function() {
return gulp.src('less/*.less')
.pipe(less())
.pipe(gulp.dest('./css'));
});
gulp.task('watch', function() {
gulp.watch('./less/*.less', ['less']);
});
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