Skip to content

Commit

Permalink
Allow to attach the HMR server to an external http server
Browse files Browse the repository at this point in the history
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 8c6b816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local-cli/server/runServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 8c6b816

Please sign in to comment.