From f09f6a1dc811c841bb51173df38dc4789c42e00b Mon Sep 17 00:00:00 2001
From: Brett Sun <qisheng.brett.sun@gmail.com>
Date: Thu, 18 Feb 2016 11:43:24 +0100
Subject: [PATCH] Update webpack-dev-server docs for proper app entry point
 when using HMR (see https://github.com/webpack/webpack-dev-server/issues/326)

---
 webpack-dev-server.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/webpack-dev-server.md b/webpack-dev-server.md
index d56c294..73386ec 100644
--- a/webpack-dev-server.md
+++ b/webpack-dev-server.md
@@ -72,11 +72,11 @@ To use the inline mode, specify `--inline` on the command line (you cannot speci
 
 There is no `inline: true` flag in the webpack-dev-server configuration, because the webpack-dev-server module has no access to the webpack configuration. Instead the user must add the webpack-dev-server client entry point to the webpack configuration.
 
-To do this just add `webpack-dev-server/client?http://<path>:<port>` to (all) entry point(s). I. e. with the above configuration:
+To do this just add `webpack-dev-server/client?http://<path>:<port>/` to (all) entry point(s). I. e. with the above configuration:
 
 ``` js
 var config = require("./webpack.config.js");
-config.entry.app.unshift("webpack-dev-server/client?http://localhost:8080");
+config.entry.app.unshift("webpack-dev-server/client?http://localhost:8080/");
 var compiler = webpack(config);
 var server = new webpackDevServer(compiler, {...});
 server.listen(8080);
@@ -130,7 +130,7 @@ I. e. with the above configuration:
 
 ``` js
 var config = require("./webpack.config.js");
-config.entry.app.unshift("webpack-dev-server/client?http://localhost:8080", "webpack/hot/dev-server");
+config.entry.app.unshift("webpack-dev-server/client?http://localhost:8080/", "webpack/hot/dev-server");
 var compiler = webpack(config);
 var server = new webpackDevServer(compiler, {
   hot: true