react-native/local-cli
Martín Bigio 1ef9e4dc59 Make HMR compatible with numeric IDs
Summary:We recently refactor the packager to transform the module names into numeric IDs but we forgot to update the HMR call site. As a consequence, HMR doesn't work the first time a file is saved but the second one.

This is affecting master as of 3/20. If we don't land this before v0.23 is cut we'll have to cherry pick it. This rev does *not* need to be picked on v0.22.

Reviewed By: bestander

Differential Revision: D3075192

fb-gh-sync-id: 410e4bf8f937c0cdb8f2b462dd36f928a24e8aa8
shipit-source-id: 410e4bf8f937c0cdb8f2b462dd36f928a24e8aa8
2016-03-21 15:51:24 -07:00
..
__mocks__ Fix more tests 2015-09-16 13:05:30 -07:00
__tests__ Temporarily disable cli tests 2015-11-12 07:05:01 -08:00
bundle Add sourcemap support for asset-based random access bundles 2016-03-21 12:32:22 -07:00
dependencies Add packager worker for Buck 2016-03-18 12:45:29 -07:00
generate Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
generator flowconfig adds flow/ folder 2016-03-21 06:26:34 -07:00
generator-android Using local-cli in gradle 2016-03-21 09:21:26 -07:00
generator-ios Create offline package if not running in "Debug" config 2016-02-24 03:11:38 -08:00
library Introduce react-native link 2015-10-27 11:22:28 -07:00
runAndroid Fix run-android to execute app on all connected devices 2016-03-08 12:12:30 -08:00
runIOS Allows a user to specify an xcode scheme name. 2016-03-07 14:26:25 -08:00
server Make HMR compatible with numeric IDs 2016-03-21 15:51:24 -07:00
upgrade Move `react` to peerDependencies 2016-02-09 15:38:37 -08:00
util Fix cli config file on Windows 2016-03-20 18:09:20 -07:00
cli.js Fix: cli.js - use var instead of const 2016-03-06 18:56:27 -08:00
default.config.js More descriptive comment in default.config.js 2015-11-12 07:43:25 -08:00
generate-android.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
generator-utils.js flowconfig adds flow/ folder 2016-03-21 06:26:34 -07:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh Change ulimit to 2048 for non root Mac users 2016-02-06 11:45:37 -08:00
wrong-react-native.js Return non-zero exit code from wrong-react-native 2016-01-05 15:22:59 -08:00