Skip to content

Commit

Permalink
feat: update ger-port-please with verbose error
Browse files Browse the repository at this point in the history
show verbose errors about port allocating behavior
  • Loading branch information
pi0 committed Aug 8, 2022
1 parent c094137 commit 8e6f023
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"clipboardy": "^3.0.0",
"colorette": "^2.0.19",
"defu": "^6.0.0",
"get-port-please": "^2.5.0",
"get-port-please": "^2.6.0",
"http-shutdown": "^1.2.2",
"selfsigned": "^2.0.1",
"ufo": "^0.8.5"
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/index.ts
Expand Up @@ -80,6 +80,7 @@ export async function listen (handle: http.RequestListener, opts: Partial<Listen

const port = await getPort({
port: Number(opts.port),
verbose: !opts.isTest,
host: opts.hostname
})

Expand Down

0 comments on commit 8e6f023

Please sign in to comment.