Choix du host automatique par le navigateur pour le hot reload
Pour le développement à distance sur un serveur https://github.com/webpack-contrib/webpack-hot-client/blob/master/docs/REMOTE.mdpull/294/head
parent
6765140e59
commit
034476df75
|
@ -11,6 +11,9 @@ module.exports = {
|
|||
entry: map(concat(['react-hot-loader/patch']), common.entry),
|
||||
serve: {
|
||||
host: '0.0.0.0',
|
||||
hotClient: {
|
||||
host: { client: '*', server: '0.0.0.0' }
|
||||
},
|
||||
add: (app, middleware, options) => {
|
||||
app.use(
|
||||
convert(
|
||||
|
|
Loading…
Reference in New Issue