1

I'm using gulp-notify within the gulp pipeline like this:

var gulp = require('gulp'),
  notify = require('gulp-notify');

gulp.task('default', function () {
    return gulp
     .pipe(notify({ message: "Hello, world"}));
});

This logs to console, but it also creates annoying balloon popup. Any way how to get rid of that ?

Ondrej Svejdar
  • 21,349
  • 5
  • 54
  • 89

1 Answers1

2

If you only want to log and not have the balloon popup, you should not use gulp-notify.

I recoment using gulp-util for logging. Your task will look like:

var gulp = require('gulp'),
  gutil = require('gulp-util');

gulp.task('default', function () {
    return gulp
    .on('end', function(){ gutil.log('Hello, world'); });
});
Elger van Boxtel
  • 1,030
  • 12
  • 23