Skip to content

Commit

Permalink
chore: update import path for devtools port (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
arashsheyda authored Aug 5, 2024
1 parent 798ddcb commit aef1ee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/bootstrap.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createResolver, defineNuxtModule } from '@nuxt/kit'
import { startSubprocess } from '@nuxt/devtools-kit'
import { DEVTOOLS_UI_LOCAL_PORT } from '../src/devtools'
import { DEVTOOLS_UI_LOCAL_PORT } from '../src/constants'

const resolver = createResolver(import.meta.url)

Expand All @@ -11,7 +11,7 @@ export default defineNuxtModule((_, nuxt) => {
startSubprocess(
{
command: 'npx',
args: ['nuxi', 'dev', '--port', DEVTOOLS_UI_LOCAL_PORT],
args: ['nuxi', 'dev', '--port', DEVTOOLS_UI_LOCAL_PORT.toString()],
cwd: resolver.resolve('.'),
},
{
Expand Down

0 comments on commit aef1ee5

Please sign in to comment.