Skip to content

Commit aef1ee5

Browse files
authored
chore: update import path for devtools port (#190)
1 parent 798ddcb commit aef1ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/bootstrap.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createResolver, defineNuxtModule } from '@nuxt/kit'
22
import { startSubprocess } from '@nuxt/devtools-kit'
3-
import { DEVTOOLS_UI_LOCAL_PORT } from '../src/devtools'
3+
import { DEVTOOLS_UI_LOCAL_PORT } from '../src/constants'
44

55
const resolver = createResolver(import.meta.url)
66

@@ -11,7 +11,7 @@ export default defineNuxtModule((_, nuxt) => {
1111
startSubprocess(
1212
{
1313
command: 'npx',
14-
args: ['nuxi', 'dev', '--port', DEVTOOLS_UI_LOCAL_PORT],
14+
args: ['nuxi', 'dev', '--port', DEVTOOLS_UI_LOCAL_PORT.toString()],
1515
cwd: resolver.resolve('.'),
1616
},
1717
{

0 commit comments

Comments
 (0)