Remove "reload to reconnect" from the metro disconnected message
Summary: Changes the Fast Refresh message for when metro disconnects to remove "Reload to reconnect.". The most common use case for this happening is when Metro is stopped, and reloading will not reconnect to a stopped metro server. Long term we should reconnect to Metro automatically and then this message would be followed up with a "Reconnected to Metro" message, never needing a reload. Changelog: [Internal] Reviewed By: cpojer Differential Revision: D18527705 fbshipit-source-id: 40768ce1089348b612e9d86638f07169d2a34b67
This commit is contained in:
Родитель
9c4afce70f
Коммит
e9fd102c33
|
@ -242,9 +242,7 @@ Error: ${e.message}`;
|
|||
|
||||
client.on('close', data => {
|
||||
LoadingView.hide();
|
||||
setHMRUnavailableReason(
|
||||
'Disconnected from the Metro server. Reload to reconnect.',
|
||||
);
|
||||
setHMRUnavailableReason('Disconnected from the Metro server.');
|
||||
});
|
||||
|
||||
if (isEnabled) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче