Enable metro hmr server in local-cli (#20605)

Summary:
The `hmrEnabled` flag was not passed to the metro runServer config which caused HMR to be broken.
Pull Request resolved: https://github.com/facebook/react-native/pull/20605

Differential Revision: D9272070

Pulled By: hramos

fbshipit-source-id: 3765031d9e7806be11781fba92663ce7c4ff2ffb
This commit is contained in:
Janic Duplessis
2018-08-13 21:38:57 +01:00
committed by Lorenzo Sciandra
parent 1be38926c0
commit 39fc0864d9
+1
View File
@@ -65,6 +65,7 @@ async function runServer(args: Args, config: ConfigT) {
secure: args.https,
secureCert: args.cert,
secureKey: args.key,
hmrEnabled: true,
});
const wsProxy = webSocketProxy.attachToServer(