gulp notify - getting rid of annoying ballon popup (on windows)

194 Views Asked by At

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 ?

1

There are 1 best solutions below

0
Elger van Boxtel On BEST ANSWER

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'); });
});