-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: If you `console.log` early enough in the initialization sequence, it won't get sent to Metro because `hmrClient` isn't initialized yet. I've added a rolling array to catch at most 100 of those, and send them after we initialize. Changelog: [General] [Fixed] - Early logs don't get dropped by Metro now Reviewed By: cpojer Differential Revision: D17952097 fbshipit-source-id: 964b4735a6a7c3ccd115f44151139d718bf5b26d
- Loading branch information
1 parent
0d1b9b5
commit 4ed05ca
Showing
1 changed file
with
45 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters