Skip to content

Commit

Permalink
fix(bit start) - show ui server loader success when using --no-browser (
Browse files Browse the repository at this point in the history
  • Loading branch information
GiladShoham authored Mar 17, 2024
1 parent a3e2f5c commit 90128e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scopes/ui-foundation/ui/start.cmd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 90128e2

Please sign in to comment.