Permalink
Browse files

Allow to attach the HMR server to an external http server

Reviewed By: BYK

Differential Revision: D6752279

fbshipit-source-id: 250255a3b1226f8aab6054e507cb3910cdcd6a85
  • Loading branch information...
rafeca authored and facebook-github-bot committed Jan 19, 2018
1 parent 1aac962 commit 8c6b816caa908845471460f453f9d761bfba3f3d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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');

0 comments on commit 8c6b816

Please sign in to comment.