Skip to content

Commit 397ed8d

Browse files
committed
proper paths for hot config
1 parent 02db473 commit 397ed8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/dummy/client/webpack.client.rails.hot.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ module.exports = merge.strategy(
2727
entry: {
2828
'app-bundle': [
2929
'react-hot-loader/patch',
30-
`webpack-dev-server/client?${output.devServerUrl}`,
30+
`webpack-dev-server/client?http://${settings.dev_server.host}:${settings.dev_server.port}`,
3131
'webpack/hot/only-dev-server'
3232
],
3333
},
3434

3535
output: {
3636
filename: '[name].js',
37-
path: output.publicPath,
38-
publicPath: output.publicPathWithHost,
37+
path: output.path,
38+
publicPath: output.publicPath,
3939
},
4040

4141
module: {

0 commit comments

Comments
 (0)