We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28eecb6 commit 2e6b4e4Copy full SHA for 2e6b4e4
packages/devtools/src/integrations/vscode.ts
@@ -38,7 +38,7 @@ export async function setup({ nuxt, options, openInEditorHooks, rpc }: NuxtDevto
38
const installed = !!await which(codeBinary).catch(() => null)
39
let port = vsOptions?.port || 3080
40
let url = `http://localhost:${port}`
41
- const host = vsOptions?.host ? `--host=${vsOptions.host}` : ''
+ const host = vsOptions?.host ? `--host=${vsOptions.host}` : '--host=127.0.0.1'
42
let loaded = false
43
let promise: Promise<void> | null = null
44
const mode = vsOptions?.mode || 'local-serve'
0 commit comments