S
S
Sergey Vasenin2017-08-19 16:18:05
css
Sergey Vasenin, 2017-08-19 16:18:05

How to set up gulp less?

How to set up less in gulp so that it does not stop the compilation process on errors and integrate with browser-sync

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Gray, 2017-08-25
@emin313

1. Prevents gulp-plumber from breaking on error . Good for many things: sass, less, pug, etc.
2. Integration with browser-sync as usual

browserSync = require('browser-sync').create(),
gulp.task('less', function () {
      //здесь всякое разное
      .pipe(browserSync.stream());
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question