Skip to content

Commit ea33b0e

Browse files
committed
feat: Log server URL upon initialization completion
1 parent f8d7929 commit ea33b0e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/lib/initialization.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,12 @@ export async function initializeApp(
101101

102102
await initialize()
103103

104+
const port = parseInt(options.port, 10)
105+
const serverUrl = `http://localhost:${port}`
106+
consola.success(`Server started at ${serverUrl}`)
107+
104108
return {
105-
port: parseInt(options.port, 10),
109+
port,
106110
}
107111
}
108112

0 commit comments

Comments
 (0)