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.
1 parent 9a34c01 commit 05fe6f4Copy full SHA for 05fe6f4
webpack/dev.config.js
@@ -6,7 +6,7 @@ var path = require('path');
6
var webpack = require('webpack');
7
var assetsPath = path.resolve(__dirname, '../static/dist');
8
var host = (process.env.HOST || 'localhost');
9
-var port = parseInt(process.env.PORT) + 1 || 3001;
+var port = (+process.env.PORT + 1) || 3001;
10
11
// https://github.com/halt-hammerzeit/webpack-isomorphic-tools
12
var WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin');
0 commit comments