From 8c6b816caa908845471460f453f9d761bfba3f3d Mon Sep 17 00:00:00 2001 From: Rafael Oleza Date: Fri, 19 Jan 2018 07:59:19 -0800 Subject: [PATCH] Allow to attach the HMR server to an external http server Reviewed By: BYK Differential Revision: D6752279 fbshipit-source-id: 250255a3b1226f8aab6054e507cb3910cdcd6a85 --- local-cli/server/runServer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local-cli/server/runServer.js b/local-cli/server/runServer.js index d143975da..bb3fc3c7f 100644 --- a/local-cli/server/runServer.js +++ b/local-cli/server/runServer.js @@ -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');