Skip to content

Commit d89cbbe

Browse files
committed
Merge pull request #1000 from husek/master
fix(hmr): Fixed HMR on Windows environment.
2 parents 85ec934 + 0e66a95 commit d89cbbe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
"babel-eslint": "^5.0.0-beta6",
145145
"babel-plugin-react-transform": "^2.0.0",
146146
"babel-plugin-typecheck": "^3.6.0",
147-
"better-npm-run": "0.0.7",
147+
"better-npm-run": "0.0.8",
148148
"bootstrap-sass": "^3.3.5",
149149
"bootstrap-sass-loader": "^1.0.9",
150150
"chai": "^3.3.0",

webpack/webpack-dev-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var webpackConfig = require('./dev.config');
66
var compiler = webpack(webpackConfig);
77

88
var host = config.host || 'localhost';
9-
var port = (+config.port + 1) || 3001;
9+
var port = (Number(config.port) + 1) || 3001;
1010
var serverOptions = {
1111
contentBase: 'http://' + host + ':' + port,
1212
quiet: true,

0 commit comments

Comments
 (0)