mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nuxi): respect --port
arg (#919)
This commit is contained in:
parent
81293ff195
commit
8f38280978
@ -20,7 +20,8 @@ export default defineNuxtCommand({
|
||||
const server = createServer()
|
||||
const listener = await server.listen({
|
||||
clipboard: args.clipboard,
|
||||
open: args.open || args.o
|
||||
open: args.open || args.o,
|
||||
port: args.port || args.p
|
||||
})
|
||||
|
||||
const rootDir = resolve(args._[0] || '.')
|
||||
|
Loading…
Reference in New Issue
Block a user