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:
Rafael Oleza 2018-01-19 07:59:19 -08:00 committed by Facebook Github Bot
parent 1aac962378
commit 8c6b816caa
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ function runServer(
attachWebsocketServer({
httpServer: serverInstance,
path: '/hot',
websocketServer: new HmrServer(packagerServer, reporter),
websocketServer: new HmrServer(packagerServer),
});
wsProxy = webSocketProxy.attachToServer(serverInstance, '/debugger-proxy');