yannickcr / gulp-notify-growl Goto Github PK
View Code? Open in Web Editor NEWA custom notifier for gulp-notify to send messages to Growl clients using GNTP
License: MIT License
A custom notifier for gulp-notify to send messages to Growl clients using GNTP
License: MIT License
Hi!
I've had to implement support for Growl on gulp-notify
. When using gulp-notify
in teams and some used Windows, it became impossible to handle.
Thank you so much for this module, though.
I want to pass a success notification but if there is an error, pass a fail notification. Looking at gulp-notify I can't figure out if this is possible but in case it has something to do with growl, thought I would ask here if you don't mind.
gulp.src('app/tests/*.php')
.pipe(phpunit('.\\vendor\\bin\\phpunit', options))
.on('error', notify.onError({
title: "Bad Doge!",
message: "Many Fail",
notifier: growlNotifier
}))
.pipe(notify({
title: "Very Unit Test",
message: "Such notify. So growl. Many Wow",
notifier: growlNotifier
}));
The code above probably isn't right but you should see what I am trying to do. This code sends the notification but it ignores my title and message and uses 'Gulp' for the title and the actual error for the message.
I also tried this and it just does nothing. It works to suppress the error in the cli keeping it from killing my watcher but it does not send a notification to growl.
.on('error', function(error) {
notify({
title: "Bad Doge!",
message: "Many Fail",
notifier: growlNotifier
})
})
Can you show an example if this is possible? Thank you
Consider wrapping gulp-notify to ease use?
/cc @mikaelbr
Can't install because of error
npm ERR! peerinvalid The package gulp-notify does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants gulp-notify@^0.4.0
Is that whats going on when you guys do a version bump? You have to test everything out with the newest version of the dependency and then bump up the version?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.