diff --git a/packages/platform-android/src/commands/runAndroid/index.ts b/packages/platform-android/src/commands/runAndroid/index.ts index 22b553208..b764be593 100644 --- a/packages/platform-android/src/commands/runAndroid/index.ts +++ b/packages/platform-android/src/commands/runAndroid/index.ts @@ -356,7 +356,9 @@ function startServerInNewWindow( encoding: 'utf8', flag: 'w', }); - return execa.sync('cmd.exe', ['/C', launchPackagerScript], { + + // Awaiting this causes the CLI to hang indefinitely, so this must execute without await. + return execa('cmd.exe', ['/C', launchPackagerScript], { ...procConfig, detached: true, stdio: 'ignore',