react-native-macos/local-cli/server
Martín Bigio 436db67126 Allow parents to accept children modules
Summary:In order to be able to Hot Load Redux stores and modules that export functions, we need to build infrastructure to bubble up the HMR updates similar to how webpack does: https://webpack.github.io/docs/hot-module-replacement-with-webpack.html.

In here we introduce the minimum of this infrastructure we need to make this work. The Packager server needs to send the inverse dependencies to the HMR runtime that runs on the client so that it can bubble up the patches if they cannot be self accepted by the module that was changed.

This diff relies on https://github.com/facebook/node-haste/pull/40/files which adds support for getting the inverse dependencies.

Reviewed By: davidaurelio

Differential Revision: D2950662

fb-gh-sync-id: 26dcd4aa15da76a727026a9d7ee06e7ae4d22eaa
shipit-source-id: 26dcd4aa15da76a727026a9d7ee06e7ae4d22eaa
2016-02-26 15:17:43 -08:00
..
middleware Disable Flow on Packager 2016-01-27 15:33:31 -08:00
util Allow parents to accept children modules 2016-02-26 15:17:43 -08:00
checkNodeVersion.js Quit early if node < 4 2016-02-04 15:23:57 -08:00
formatBanner.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
runServer.js Add message channel to packager for sending commands to bridge (2/N) 2016-02-25 18:15:53 -08:00
server.js add host argument for packager. 2016-01-19 16:47:33 -08:00