P
P
pegas2017-05-08 15:27:05
gulp.js
pegas, 2017-05-08 15:27:05

How can I configure the plugin to notify only on errors?

How to configure notify so that notifications appear only on errors?
"gulp-notify": "^3.0.0" - installed
notify = require("gulp-notify") - enabled
What should I add to this task?

gulp.task('sass', function(){ // Создаем таск "sass"
    return gulp.src(['app/sass/*.sass',
                     'app/libs/libs.sass']) // Берем источник
       	.pipe(sass({
          includePaths: bourbon.includePaths
          }))
        .pipe(gulp.dest('app/css')) // Выгружаем результата в папку app/css
        .pipe(browserSync.reload({stream: true})) // Обновляем CSS на странице при изменении
     });

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question