Answer the question
In order to leave comments, you need to log in
How to make a task in gulp automatically run when the project file changes?
I want that when saving changes in the less file, css is automatically collected from it, so as not to write the launch of this action in the console. How to do?
I'm not a programmer, I can't read the documentation, I learned German, don't kick me hard.
Answer the question
In order to leave comments, you need to log in
It will suit you
gulp.task('watch', function () {
gulp.watch('assets/less/**/*.less', ['go']);
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question