From 29cb6ac993835bc9e3f83b9da314bed98efac3f8 Mon Sep 17 00:00:00 2001 From: Jure Triglav <juretriglav@gmail.com> Date: Mon, 14 Dec 2015 16:27:42 +0100 Subject: [PATCH] Simplify Webpack server --- bin/webpack_server.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/bin/webpack_server.js b/bin/webpack_server.js index 5d49e18e0..ebc85fad9 100644 --- a/bin/webpack_server.js +++ b/bin/webpack_server.js @@ -11,21 +11,8 @@ var webpackConfig = require('../webpack/webpack.dev.config.js') module.exports = function () { // Fire up webpack and pass in the configuration file we created - var bundleStart = null var compiler = webpack(webpackConfig) - // Give notice to the terminal when it starts bundling - // and set the time it started - compiler.plugin('compile', function () { - console.log('Bundling ...') - bundleStart = Date.now() - }) - - // Give notice when it is done compiling, including the time it took. - compiler.plugin('done', function () { - console.log('Bundled in ' + (Date.now() - bundleStart) + 'ms!') - }) - var bundler = new webpackDevServer(compiler, { // Tell webpack to serve our bundled application from the build path. When proxying: // http://localhost:3000/assets -> http://localhost:3001/assets -- GitLab