diff --git a/etc/webpack.common.js b/etc/webpack.common.js index 5cacff3..6739500 100755 --- a/etc/webpack.common.js +++ b/etc/webpack.common.js @@ -275,12 +275,7 @@ var config = { 'NODE_ENV': JSON.stringify(ENV), 'HMR': false } - }), - /** - * Plugin: NotifierPlugin - * See: https://github.com/Turbo87/webpack-notifier#usage - */ - new WebpackNotifierPlugin() + }) ], /* @@ -299,6 +294,16 @@ var config = { }; +if( os.platform() !== 'win32') { + // FIXME, see https://github.com/holisticon/angular-common/issues/11 + config.plugins.push( + /** + * Plugin: NotifierPlugin + * See: https://github.com/Turbo87/webpack-notifier#usage + */ + new WebpackNotifierPlugin()); +} + /* * Plugin: HtmlWebpackPlugin * Description: Simplifies creation of HTML files to serve your webpack bundles.