From aef1ee5d1dec92bb37dff2857493d69e21e3937c Mon Sep 17 00:00:00 2001 From: Arash <38922203+arashsheyda@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:59:37 -0600 Subject: [PATCH] chore: update import path for devtools port (#190) --- client/bootstrap.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/bootstrap.ts b/client/bootstrap.ts index 551a41ef..16b18846 100644 --- a/client/bootstrap.ts +++ b/client/bootstrap.ts @@ -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) @@ -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('.'), }, {