]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Client: add webpack notifier
authorChocobozzz <florian.bigard@gmail.com>
Wed, 20 Jul 2016 09:43:31 +0000 (11:43 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Wed, 20 Jul 2016 09:46:52 +0000 (11:46 +0200)
client/config/webpack.common.js
client/package.json

index dec468736cc2e531ee0f9b39a14c7af82e0f677e..2ff3a1506497687a4ba6ec3e3f0500c52fab5ceb 100644 (file)
@@ -8,6 +8,7 @@ const helpers = require('./helpers')
 var CopyWebpackPlugin = (CopyWebpackPlugin = require('copy-webpack-plugin'), CopyWebpackPlugin.default || CopyWebpackPlugin)
 const HtmlWebpackPlugin = require('html-webpack-plugin')
 const ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin
+const WebpackNotifierPlugin = require('webpack-notifier')
 
 /*
  * Webpack Constants
@@ -244,8 +245,9 @@ module.exports = {
     new HtmlWebpackPlugin({
       template: 'src/index.html',
       chunksSortMode: 'dependency'
-    })
+    }),
 
+    new WebpackNotifierPlugin({ alwaysNotify: true })
   ],
 
   /*
index 2dfc0c659f54a808c8046dcb01a5e7273d19efb1..b01e768b30432fd13fcf297ae3bfc00c3a0f43cb 100644 (file)
@@ -62,6 +62,7 @@
     "webpack": "^1.13.1",
     "webpack-md5-hash": "0.0.5",
     "webpack-merge": "^0.13.0",
+    "webpack-notifier": "^1.3.0",
     "webtorrent": "^0.93.2",
     "zone.js": "0.6.12"
   },