We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 105f7d9 + 0ff453f commit 85ec934Copy full SHA for 85ec934
webpack/webpack-dev-server.js
@@ -6,7 +6,7 @@ var webpackConfig = require('./dev.config');
6
var compiler = webpack(webpackConfig);
7
8
var host = config.host || 'localhost';
9
-var port = (config.port + 1) || 3001;
+var port = (+config.port + 1) || 3001;
10
var serverOptions = {
11
contentBase: 'http://' + host + ':' + port,
12
quiet: true,
0 commit comments