From 90128e228f89e2ccfd00a24cd885dd96799ad121 Mon Sep 17 00:00:00 2001 From: Gilad Shoham Date: Sun, 17 Mar 2024 21:23:52 +0200 Subject: [PATCH] fix(bit start) - show ui server loader success when using --no-browser (#8678) --- scopes/ui-foundation/ui/start.cmd.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scopes/ui-foundation/ui/start.cmd.tsx b/scopes/ui-foundation/ui/start.cmd.tsx index 743c5304c06c..d80799f8b4d8 100644 --- a/scopes/ui-foundation/ui/start.cmd.tsx +++ b/scopes/ui-foundation/ui/start.cmd.tsx @@ -94,10 +94,10 @@ export class StartCmd implements Command { uiServer .then(async (server) => { - if (!server.buildOptions?.launchBrowserOnStart) return undefined; const url = this.ui.publicUrl || server.fullUrl; - spinnies.succeed('ui-server', { text: `UI server is ready at ${chalk.cyan(url)}` }); + if (!server.buildOptions?.launchBrowserOnStart) return undefined; + await server.whenReady; const name = server.getName(); const message = chalk.green(`You can now view '${chalk.cyan(name)}' components in the browser.