Skip to content

🎥 Make videos programmatically with React

Print Studio URL when already running

JonnyBurger0988804257c3
diff --git a/packages/it-tests/src/bundle/studio.test.ts b/packages/it-tests/src/bundle/studio.test.ts
index bc6f3960ba..bc02e9243c 100644
--- a/packages/it-tests/src/bundle/studio.test.ts
+++ b/packages/it-tests/src/bundle/studio.test.ts
@@ -101,7 +101,9 @@ Config.overrideWebpackConfig((config) => {
});
expect(exitCode).toBe(0);
- expect(output).toContain(`Already running on port ${address.port}.`);
+ expect(output).toContain(
+ `Already running at http://localhost:${address.port}`,
+ );
expect(output).not.toContain('Bundler override ran');
expect(output).not.toContain('Built in');
} finally {
diff --git a/packages/studio-server/src/start-studio.ts b/packages/studio-server/src/start-studio.ts
index 89ed85824b..78f27444c5 100644
--- a/packages/studio-server/src/start-studio.ts
+++ b/packages/studio-server/src/start-studio.ts
@@ -192,7 +192,7 @@ export const startStudio = async ({
if (result.type === 'already-running') {
RenderInternals.Log.info(
{indent: false, logLevel},
- `Already running on port ${result.port}.`,
+ `Already running at http://localhost:${result.port}`,
);
const res = await maybeOpenBrowser({
browserArgs,