chore(cli): Fix to read port from options commandLineOptions.

This commit is contained in:
Gervwyk 2022-01-23 21:55:38 +02:00
parent 295faba2bf
commit db2338dc34
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ async function runDevServer({ context }) {
env: {
...process.env,
LOWDEFY_DIRECTORY_CONFIG: context.directories.config,
PORT: context.commandLineOptions.port,
PORT: context.options.port,
},
},
silent: false,

View File

@ -27,7 +27,7 @@ async function runStart({ context }) {
env: {
...process.env,
LOWDEFY_DIRECTORY_CONFIG: context.directories.config,
PORT: context.commandLineOptions.port,
PORT: context.options.port,
},
},
silent: false,