gulp-notify
Advanced tools
Comparing version
Changelog | ||
=== | ||
#### `v3.0.0` | ||
##### Breaking Changes | ||
1. Updates to `node-notifier@v5.0.0` and the the [breaking changes from that](https://github.com/mikaelbr/node-notifier/blob/master/CHANGELOG.md#v500) applies to gulp-notify. | ||
#### `v2.2.0` | ||
@@ -5,0 +11,0 @@ 1. Adds support for changing host, port and appName for Growl. |
@@ -42,2 +42,9 @@ var through = require("through2"); | ||
} else { | ||
if (options.host || options.appName || options.port) { | ||
notifier = new notifier.Notification({ | ||
host: options.host || 'localhost', | ||
appName: options.appName || 'gulp-notify', | ||
port: options.port || '23053' | ||
}); | ||
} | ||
reporter = notifier.notify.bind(notifier); | ||
@@ -44,0 +51,0 @@ } |
@@ -20,5 +20,5 @@ "use strict"; | ||
notifier = new notifier.Notification({ | ||
host: options.host, | ||
appName: options.appName, | ||
port: options.port | ||
host: options.host || 'localhost', | ||
appName: options.appName || 'gulp-notify', | ||
port: options.port || '23053' | ||
}); | ||
@@ -25,0 +25,0 @@ } |
{ | ||
"name": "gulp-notify", | ||
"version": "2.2.0", | ||
"version": "3.0.0", | ||
"description": "gulp plugin to send messages based on Vinyl Files or Errors to Mac OS X, Linux or Windows using the node-notifier module. Fallbacks to Growl or simply logging", | ||
@@ -30,16 +30,17 @@ "keywords": [ | ||
"scripts": { | ||
"test": "mocha -R spec" | ||
"test": "mocha -R spec", | ||
"gulp": "gulp --gulpfile ./examples/gulpfile.js" | ||
}, | ||
"dependencies": { | ||
"gulp-util": "^3.0.2", | ||
"lodash.template": "^3.0.0", | ||
"node-notifier": "^4.1.0", | ||
"node.extend": "^1.1.3", | ||
"through2": "^0.6.3" | ||
"gulp-util": "^3.0.8", | ||
"lodash.template": "^4.4.0", | ||
"node-notifier": "^5.0.1", | ||
"node.extend": "^1.1.6", | ||
"through2": "^2.0.3" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^3.8.10", | ||
"gulp-plumber": "^0.6.6", | ||
"mocha": "^2.1.0", | ||
"should": "^4.6.1" | ||
"gulp-plumber": "^1.1.0", | ||
"mocha": "^3.2.0", | ||
"should": "^11.2.0" | ||
}, | ||
@@ -50,7 +51,3 @@ "engines": { | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT" | ||
} | ||
] | ||
"license": "MIT" | ||
} |
@@ -49,2 +49,8 @@ # gulp-notify [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url] | ||
**Windows 10 Note:** You might have to activate banner notification for the toast to show. | ||
From [#90 (comment)](https://github.com/mikaelbr/gulp-notify/issues/90#issuecomment-129333034) | ||
> You can make it work by going to System > Notifications & Actions. The 'toast' app needs to have Banners enabled. (You can activate banners by clicking on the 'toast' app and setting the 'Show notification banners' to On) | ||
## Usage | ||
@@ -77,3 +83,3 @@ | ||
See [examples](examples/gulpfile.js) for more og the API section for various inputs. | ||
See [examples](examples/gulpfile.js) for more or the [API](#api) section for various inputs. | ||
@@ -216,3 +222,3 @@ ## Notes/tip | ||
**If the `wait` option is set to `true`**, the notifier will tigger | ||
**If the `wait` option is set to `true`**, the notifier will trigger | ||
events `click` or `timeout`, whether the user clicks the notification or it | ||
@@ -219,0 +225,0 @@ times out. You listen to these events on the main notify object, not the |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
95397
1.02%1106
0.64%435
1.4%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated