Allow to attach the HMR server to an external http server
Reviewed By: BYK Differential Revision: D6752279 fbshipit-source-id: 250255a3b1226f8aab6054e507cb3910cdcd6a85
This commit is contained in:
parent
1aac962378
commit
8c6b816caa
|
@ -131,7 +131,7 @@ function runServer(
|
||||||
attachWebsocketServer({
|
attachWebsocketServer({
|
||||||
httpServer: serverInstance,
|
httpServer: serverInstance,
|
||||||
path: '/hot',
|
path: '/hot',
|
||||||
websocketServer: new HmrServer(packagerServer, reporter),
|
websocketServer: new HmrServer(packagerServer),
|
||||||
});
|
});
|
||||||
|
|
||||||
wsProxy = webSocketProxy.attachToServer(serverInstance, '/debugger-proxy');
|
wsProxy = webSocketProxy.attachToServer(serverInstance, '/debugger-proxy');
|
||||||
|
|
Loading…
Reference in New Issue