react-native/packager/react-packager
Amjad Masad 3388d8fe79 [reat-packager] Switch platform resolution based on query param
Summary:
Currently the platform selection is controlled by the blacklist. However, since we want to use the same server instance for cross-platform development, we need this to be controlled per request.

One outstanding issue, is that the DependencyGraph class wasn't designed that way and it doesn't have a per-request state. This means that with the current design race conditions is possible. If we got a request for a different platfrom while processing the previous request, we may change the outcome of the previous request.

To fix this a larger refactor is needed. I'll follow up a diff to do that.

Finally, so I don't break the universe like last time, I'll leave it up to the RN guys to update the call sites.
2015-08-15 13:28:18 -07:00
..
__mocks__ Replace bluebird with promise 2015-06-22 08:44:03 -08:00
src [reat-packager] Switch platform resolution based on query param 2015-08-15 13:28:18 -07:00
.babelrc [Babel] Upgrade babel and regenerator to the latest version 2015-08-10 20:37:39 -08:00
.npmignore [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
index.js [ReactNative] Add ability to listen for Packager events 2015-08-14 14:28:45 -08:00