Permalink
Browse files

Fix HMR after adding RA-Bundle groups

Summary:
The introduction of groups for random access bundles broke hot module reloading, because HMR uses a different Bundle class. And that didn’t have the `setRamGroups()` method.

This just adds an empty method on the base class.

**Test plan (required)**

I ran `node scripts/run-ci-e2e-tests.js --android`
Closes #9982

Differential Revision: D3886096

Pulled By: bestander

fbshipit-source-id: 46e6183607b0275d3cfe0d892360248b7b2154e9
  • Loading branch information...
1 parent 5deb528 commit fd8444734116783f21a7efec5935b8f7a5774368 @davidaurelio davidaurelio committed with Facebook Github Bot 2 Sep 19, 2016
Showing with 2 additions and 0 deletions.
  1. +2 −0 packager/react-packager/src/Bundler/BundleBase.js
@@ -88,6 +88,8 @@ class BundleBase {
}
}
+ setRamGroups() {}
+
toJSON() {
return {
modules: this._modules,

0 comments on commit fd84447

Please sign in to comment.