mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
4ac585b34b
Summary: In a previous changeset, Server#getModuleForPath() started returning `Promise<Module>` instead of `Module`, but the callsites in HMR haven't been updated, causing it to break. This would have been caught if `attachHMRServer.js` was using flow, that I'm considering doing in a following up diff. This would also have been caught if we had better integration testing of HMR. Good news however,it was caught by the OSS e2e test, that covers Hot Reloading. Reviewed By: davidaurelio Differential Revision: D4705937 fbshipit-source-id: fe787bc6ae50024759c7f7aeed747394fdce9aa1