use defaultConfig.port in dev env instead of hard coded 8000

This commit is contained in:
Kashif Iqbal Khan
2016-02-01 20:19:59 +11:00
parent f556d20d57
commit 0f019fe2c7
+1 -1
View File
@@ -10,7 +10,7 @@ let BowerWebpackPlugin = require('bower-webpack-plugin');
let config = Object.assign({}, baseConfig, {
entry: [
'webpack-dev-server/client?http://127.0.0.1:8000',
'webpack-dev-server/client?http://127.0.0.1:' + defaultSettings.port,
'webpack/hot/only-dev-server',
'./src/index'
],