From 2302304ecb2ae930dcc2a39831fae14c9d5a7e44 Mon Sep 17 00:00:00 2001 From: Vitali Zaidman Date: Wed, 14 May 2025 05:34:04 -0700 Subject: [PATCH] improve the message displayed when opening devtools while bundle builds Summary: Changelog: [General][Internal] improve the message displayed when opening devtools while bundle builds Differential Revision: D74718454 --- packages/dev-middleware/src/inspector-proxy/InspectorProxy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/dev-middleware/src/inspector-proxy/InspectorProxy.js b/packages/dev-middleware/src/inspector-proxy/InspectorProxy.js index 9ef13826a0dd..5b4ba7fbd56e 100644 --- a/packages/dev-middleware/src/inspector-proxy/InspectorProxy.js +++ b/packages/dev-middleware/src/inspector-proxy/InspectorProxy.js @@ -172,7 +172,8 @@ export default class InspectorProxy implements InspectorProxyQueries { ) { this.#logger?.warn( `Waiting for a DevTools connection to app='%s' on device='%s'. - Try again when it's established. If no connection occurs, try to: + Try again when the main bundle for the app is built and connection is established. + If no connection occurs, try to: - Restart the app. For Android, force stopping the app first might be required. - Ensure a stable connection to the device. - Ensure that the app is built in a mode that supports debugging.