Questions tagged [gulp-notify]

gulp-notify is a crossplatform notification plugin for gulp.

gulp-notify is a notification plugin for gulp. It can send messages to OS X Notification Center, Linux notifications (using notify-send application), Windows 8+ notifications (using native toaster) or use Growl as a fallback mechanism (using the node-notifier module). It is also possible to specify a custom notifier for gulp-notify.

Basic sample:

var notify = require("gulp-notify");

gulp.src("./src/test.ext")
  .pipe(notify("Hello!"));

gulp-notify npm package: https://www.npmjs.com/package/gulp-notify.

31 questions
1
vote
1 answer

Gulp notify not working on successful cucumber steps

I am using gulp-notify to get notification of passing and failing cucumber steps. The thing is that I only get notifications when it is failing, not when tests are passing. No errors are thrown but the terminal shows passing tests, and I don't get…
user7890
  • 147
  • 2
  • 11
1
vote
1 answer

Can I gulp-notify when a watched task completes?

We have a gulpfile with ~12 tasks, 4 of which are activated by a gulp.watch. I would like to use gulp-notify when a task started by gulp.watch completes. I don't want gulp-notify to do anything if a task is run directly. Sample code below: const …
user47589
1
vote
1 answer

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

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,…
Ondrej Svejdar
  • 21,349
  • 5
  • 54
  • 89
1
vote
1 answer

gulp-notify - get file name, not whole path, with error

I'm using gulp-notify and gulp-plumber to catch any errors from gulp-sass and notify me before it throws an error in gulp and stops the whole build process. However, the error shown with gulp-notify isn't particularly helpful...it contains the whole…
Tom Oakley
  • 6,065
  • 11
  • 44
  • 73
1
vote
0 answers

Gulp task without a return

Is it possible to have a Gulp task which doesn't have a return? I'm trying to create a simple build tasks which notifies the user on success, but all the other tasks I've written previously return something and use pipes to handle associated…
Alex Ryans
  • 1,865
  • 5
  • 23
  • 31
1
vote
1 answer

Error handling with gulp-ruby-sass 1.0.0-alpha, gulp-notify, and browser-sync

I've been using `gulp-ruby-sass@1.0.0-alpha' because < 1.0 doesn't play well with Sass >= 3.4 According to the documentation: gulp-ruby-sass throws errors like a gulp plugin, but streams the erroring files so you can see the errors in your…
philipb3
  • 279
  • 1
  • 11
0
votes
0 answers

Gulp compile problems with mac m1 gulp-notify and node-notify errors

I have macbook pro m1 i am using gulp with webpack for wp project to compile code. i get this error [16:28:42] gulp-notify: [Error in notifier] Error in plugin "gulp-notify" Message: spawn Unknown system error -86 Details: errno: -86 …
0
votes
1 answer

OS notification in gulp-notify doesn't work

Hi everyone I have a custom error handler that's supposed to show a notification with gulp-notify and then log it in the console when sass compiler fail. var errorHandler = function(error) { notify.onError({ title: 'Task Failed [' +…
user12695014
0
votes
1 answer

Gulp Notify global success function

I'm looking to have gulp-notify success function that is called which I can reuse. I'm using the same format for all of my tasks and would like to clean it up. Here's an example of what I'm doing right now: gulp.task('build-css', function() { …
Stu Furlong
  • 3,490
  • 5
  • 34
  • 47
0
votes
1 answer

gulp-notify does not working

After formatting my Mac and installing the Laravel Valet environment my gulp-notify stopped to work! That is the message: Somebody knows how to fix it? BTW I am using Laravel 5.2 + Elixir
Gustavo Bissolli
  • 1,551
  • 3
  • 22
  • 36
0
votes
0 answers

Gulp task runs once, executes twice

I'm using Gulp to compile stylus, but the task seems to run twice making gulp-notify trip. Here's my gulpfile.js var gulp, plugins; gulp = require('gulp'); plugins = require('gulp-load-plugins')(); /** * Watch for changes on stylus files, when…
JordyvD
  • 1,565
  • 1
  • 18
  • 45
0
votes
0 answers

Notify If the Stream Continued Pass a Pipe or Instead Ended at Pipe - Node - Gulp - JS

Update - The more I dig into this... the more I think it has to do with node. I using gulp-newer and gulp-notify, which includes node-notifier. When I run a tasks that doesn't produce any new files, because newer doesn't see any changes and jumps…
RooksStrife
  • 1,647
  • 3
  • 22
  • 54
0
votes
1 answer

Gulp not notifying JS errors and not compiling scss files on running gulp

I've been trying to improve my standard gulpfile to notify when errors occur when compiling scss and JS. SCSS Issue I have it working for SCSS, it throws the error in terminal, makes a noise and doesn't stop gulp running - which is great.…
jx3
  • 921
  • 1
  • 7
  • 22
0
votes
0 answers

Command failed: /usr/bin/env: ruby: No such file or directory

I'm trying to run gulp and im getting the error: gulp-notify: [Error in notifier] Error in plugin 'gulp-notify' Command failed: /usr/bin/env: ruby: No such file or directory Any ideas on a fix? Im on OSX.
panthro
  • 22,779
  • 66
  • 183
  • 324
0
votes
1 answer

How to use gulp-notify-growl?

I have remote-server(192.168.0.104) and work on laptop window computer(192.168.0.100) with win7. I install growl for window. server var growl = require('gulp-notify-growl'); var growlnotifier = growl({ hostname: "192.168.0.100", password:…
pruge
  • 31
  • 1
  • 4