mirror of https://github.com/status-im/metro.git
06732d9272
Summary: By getting rid of callbacks, we get a code that's pretty halved in size, and much easier to read, but we also fix bugs! When some of the code of Module would throw, we wouldn't catch it, meaning that packager would crash entirely. That's the case for when we have a Haste name mistach, for example. This changeste fixes that by instead capturing exceptions through the Promise chain, that bubble up all the way to the `Server` and reasonnably handled. People can then fix the Haste nane mismatch and refresh right away, and it'll work as expected. Reviewed By: davidaurelio Differential Revision: D5137408 fbshipit-source-id: b9e938b93e8d23738af49106bbae1fce97d7a5db |
||
---|---|---|
.. | ||
metro-bundler | ||
setupBabel.js |