Skip to content

Commit 55cc168

Browse files
committed
always display url
1 parent edc698f commit 55cc168

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cli/src/cli/helpers/server.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ export async function runServer(
6464
app.listen(port, () => {
6565
const url = `http://localhost:${port}#/${route}`;
6666
console.info("Press Ctrl+C to stop the server");
67+
console.info(`Server started at ${url}`);
6768
if (process.env.NODE_ENV !== "development") {
6869
openInBrowser(url);
69-
} else {
70-
console.info(`Server started at ${url}`);
7170
}
7271
});
7372
}

0 commit comments

Comments
 (0)