webpack-build-notifier
Advanced tools
Comparing version 0.1.13 to 0.1.14
12
index.js
@@ -40,5 +40,11 @@ /** | ||
/** | ||
* @cfg {String} [warningSound='Submarine'] | ||
* The sound to play for warning notifications. Defaults to the value of the *sound* configuration option. | ||
* Set to false to play no sound for warning notifications. Takes precedence over the *sound* configuration option. | ||
*/ | ||
this.warningSound = cfg.hasOwnProperty('warningSound') ? cfg.warningSound : this.sound; | ||
/** | ||
* @cfg {String} [failureSound='Submarine'] | ||
* The sound to play for failure and warning notifications. Defaults to the value of the *sound* configuration option. | ||
* Set to false to play no sound for failure and warning notifications. Takes precedence over the *sound* configuration option. | ||
* The sound to play for failure notifications. Defaults to the value of the *sound* configuration option. | ||
* Set to false to play no sound for failure notifications. Takes precedence over the *sound* configuration option. | ||
*/ | ||
@@ -133,3 +139,3 @@ this.failureSound = cfg.hasOwnProperty('failureSound') ? cfg.failureSound : this.sound; | ||
icon = this.warningIcon; | ||
sound = this.failureSound; | ||
sound = this.warningSound; | ||
this.buildSuccessful = false; | ||
@@ -136,0 +142,0 @@ } else { |
MIT License | ||
=============== | ||
Copyright (c) 2015 Rocco Cataldo | ||
Copyright (c) 2015-present, Rocco Cataldo | ||
@@ -22,2 +22,2 @@ Permission is hereby granted, free of charge, to any person obtaining a copy | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
THE SOFTWARE. |
{ | ||
"name": "webpack-build-notifier", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "A Webpack plugin that generates OS notifications for build steps using node-notifier.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -44,7 +44,10 @@ # webpack-build-notifier | ||
#### warningSound | ||
The sound to play for warning notifications. Defaults to the value of the *sound* configuration option. Set to false to play no sound for warning notifications. Takes precedence over the *sound* configuration option. | ||
#### failureSound | ||
The sound to play for failure and warning notifications. Defaults to the value of the *sound* configuration option. Set to false to play no sound for failure and warning notifications. Takes precedence over the *sound* configuration option. | ||
The sound to play for failure notifications. Defaults to the value of the *sound* configuration option. Set to false to play no sound for failure notifications. Takes precedence over the *sound* configuration option. | ||
#### suppressSuccess | ||
True to suppress the success notifications, otherwise false (default). Note that the success notification will always be shown following a failed build regardless of this setting. | ||
True to suppress the success notifications, otherwise false (default). Note that the success notification will always be shown for the first successful compilation or following a failed build regardless of the value of this setting. | ||
@@ -94,3 +97,8 @@ #### suppressWarning | ||
--------- | ||
#### 1.0.12 | ||
#### 1.0.14 | ||
###### _June 14, 2017_ | ||
- Added *warningSound* configuration option. | ||
#### 1.0.13 | ||
###### _October 19, 2016_ | ||
@@ -97,0 +105,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
106439
156
142