gulp-notify-growl
A custom notifier for gulp-notify to send messages to Growl clients using GNTP.
After gulp-notify v1.1.0 Growl is natively supported and this custom notifier is no longer needed.
Installation
$ npm install gulp-notify-growl --save-dev
Usage
In your gulpfile.js
:
var gulp = growl = ; // Initialize the notifiervar growlNotifier = ; gulp;
Options
hostname
Type: String
IP or Hostname to notify, default to localhost
.
port
Type: Number
GNTP port, default to 23053
.
timeout
Type: Number
Socket inactivity timeout, default to 5000
.
Icon
Type: Buffer
Icon to display in the notification, default to the gulp icon.
Example
var growlNotifier = ;
additionalHeaders
Type: Object
Additional GNTP headers sent on all requests.
Example
var growlNotifier = ;
password
Type: String
Password is set in the Growl client settings.
hashAlgorithm
Type: String
Hash algorithm when sending the messages, possible values: MD5
, SHA1
, SHA256
and SHA512
. Default to SHA256
.
encryption
Type: String
Encryption used when sending the messages, possible values: AES
, DES
and 3DES
. Default to no encryption.
appName
Type: String
Second argument for custom application name registered in growl. Allows for multiple growlNotifiers with different application names.
Example
var growlPHPUnitNotifier = ; var growlSassNotifier = ;
License
gulp-notify-growl is licensed under the MIT License.