react-native/local-cli/server/util
Rafael Oleza 8b2975ad7b Add multi-client support for HMR
Summary:
This diff builds on top of the refactor to use `async/await` and adds multi-client support to Hot Module Reloading.

Thanks to async/await it's been quite straightforward to add this logic, since the only thing that I've had to do is to create a `Set` with the currently connected clients and passed the specified client to each method that was using the global client before.

This closes https://github.com/facebook/react-native/issues/14334

Reviewed By: davidaurelio

Differential Revision: D5611176

fbshipit-source-id: ec29438887342877c372b61132efada16af58fa5
2017-08-11 12:24:20 -07:00
..
__tests__ remove disableAutomock from jest tests (new default) @bypass-lint 2017-06-13 15:04:09 -07:00
external Make copy button work on android emulator in Linux using xsel 2017-04-04 10:20:19 -07:00
attachHMRServer.js Add multi-client support for HMR 2017-08-11 12:24:20 -07:00
copyToClipBoard.js Update copyToClipBoard.js 2017-07-10 15:22:50 -07:00
debugger.html RN: Improve Audio for Maintaining Priority 2017-06-19 13:30:51 -07:00
debuggerWorker.js Handle fatal errors thrown by the Chrome debugger 2017-06-12 03:38:51 -07:00
getInverseDependencies.js react-native: attachHMRServer: make it generic 2017-06-02 09:31:41 -07:00
jsPackagerClient.js BREAKING: Change the js1 - packager - RN App protocol to version 2 2017-02-16 04:30:00 -08:00
launchChrome.js added chromium support for devTools on linux 2017-07-11 12:31:15 -07:00
launchEditor.js open in editor fix, show tip instead of error 2017-04-28 06:18:30 -07:00
messageSocket.js Extract PackagerConnectionSettings to ensure easier reusability of PackagerConnection module 2017-03-17 10:02:34 -07:00
webSocketProxy.js Improve Chrome debugger 2016-02-05 15:17:33 -08:00