error in plugin 'gulp-notify': connect econnrefused
Closed this issue · 4 comments
Every time after the notification printed to the console, this error occurs.
I run it on Windows 7 with Node v0.10.21
. The code is simple:
var gulp = require('gulp'),
uglify = require('gulp-uglify'),
rename = require('gulp-rename'),
concat = require('gulp-concat'),
notify = require('gulp-notify'),
livereload = require('gulp-livereload'),
server = require('tiny-lr')();
// Scripts
gulp.task('scripts', function() {
return gulp.src('public/js/*.js')
.pipe(concat('all.js'))
.pipe(gulp.dest('public/dist/js'))
.pipe(rename({ suffix: '.min' }))
.pipe(uglify())
.pipe(livereload(server))
.pipe(gulp.dest('public/dist/js'))
.pipe(notify({ message: 'Scripts task complete' }));
});
gulp.task('default', function() {
gulp.start('scripts');
});
I just tested it on Ubuntu
and it worked FINE!!
Hi! Do you have growl installed? On windows 7 it requires growl to send messages. The error you refer to is because notify couldn't connect to growl.
What version of gulp-notify do you run, if so? :-)
Yeah, now I install it and it works fine. But it is a little complicated. I
think you should tell people who use windows to install GROWL first in the
readme file. I don't event heard of growl before you told me and I think so
do some others.
Thanks so much for your help!
On Sat, May 31, 2014 at 2:59 PM, Mikael Brevik notifications@github.com
wrote:
Hi! Do you have growl installed? On windows 7 it requires growl to send
messages. The error you refer to is because notify couldn't connect to
growl.What version of gulp-notify do you run, if so? :-)
—
Reply to this email directly or view it on GitHub
#30 (comment).
Good idea. I've updated the README with requirements. Hope this helps!