diff --git a/src/core/models/Studio.ts b/src/core/models/Studio.ts index d2ed51837dc..42b4c404e89 100644 --- a/src/core/models/Studio.ts +++ b/src/core/models/Studio.ts @@ -7,7 +7,7 @@ import chokidar from 'chokidar'; import open from 'open'; import path from 'path'; import { version as studioVersion } from '@asyncapi/studio/package.json'; -import { gray } from 'picocolors'; +import { gray, blue } from 'picocolors'; const { readFile, writeFile } = fPromises; @@ -100,9 +100,10 @@ export function start(filePath: string, port: number = DEFAULT_PORT): void { server.listen(port, () => { const url = `http://localhost:${port}?liveServer=${port}&studio-version=${studioVersion}`; - console.log(`Studio is now running at ${url}.`); - console.log(`You can open this URL in your web browser, and if needed, press ${gray('Ctrl + C')} to stop the process.`); - console.log(`Watching changes on file ${filePath}`); + console.log(`🎉🎉 Connected to Live Server running at ${blue(url)}.`); + console.log(`🌐 Open this URL in your web browser: ${blue(url)}`); + console.log(`🛑 If needed, press ${gray('Ctrl + C')} to stop the process.`); + console.log(`Watching changes on file ${blue(filePath)}`); open(url); }); }