diff --git a/packages/varlet-cli/src/commands/dev.ts b/packages/varlet-cli/src/commands/dev.ts index 4ae6d0e27f3..cb35e1320c2 100644 --- a/packages/varlet-cli/src/commands/dev.ts +++ b/packages/varlet-cli/src/commands/dev.ts @@ -22,8 +22,8 @@ export async function dev(cmd: { force?: boolean }) { await server.listen() const host = get(varletConfig, 'host') - const port = get(varletConfig, 'port') const ipv4 = address.ip() + const { port } = server.config.server logger.success(`\ Server running at