mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 22:38:59 +08:00
DevSupportManager: tag RELOAD marker with metro host
Summary: Adds the configured metro host to `ReactMarker.logMarker(ReactMarkerConstants.RELOAD)`. This may be used for diagnostics in marker listeners Reviewed By: bnham Differential Revision: D7041086 fbshipit-source-id: 0b0777b1cd4c74b29b9245e925cf7851b24985fa
This commit is contained in:
committed by
Facebook Github Bot
parent
d352c93487
commit
e214bb3971
@@ -825,7 +825,9 @@ public class DevSupportManagerImpl implements
|
||||
|
||||
UiThreadUtil.assertOnUiThread();
|
||||
|
||||
ReactMarker.logMarker(ReactMarkerConstants.RELOAD);
|
||||
ReactMarker.logMarker(
|
||||
ReactMarkerConstants.RELOAD,
|
||||
mDevSettings.getPackagerConnectionSettings().getDebugServerHost());
|
||||
|
||||
// dismiss redbox if exists
|
||||
hideRedboxDialog();
|
||||
|
||||
Reference in New Issue
Block a user