From 03e2179d9d02a3101211cf3eb53228697ed6b2d7 Mon Sep 17 00:00:00 2001 From: Pratyush Sharma <56130065+pratyush618@users.noreply.github.com> Date: Thu, 9 Apr 2026 10:45:14 +0530 Subject: [PATCH] fix(web): correct dev-mode serve command in OnboardingGuide (#725) --- gitnexus-web/src/components/OnboardingGuide.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gitnexus-web/src/components/OnboardingGuide.tsx b/gitnexus-web/src/components/OnboardingGuide.tsx index cbfd16236a..796e0f148b 100644 --- a/gitnexus-web/src/components/OnboardingGuide.tsx +++ b/gitnexus-web/src/components/OnboardingGuide.tsx @@ -201,7 +201,7 @@ interface OnboardingGuideProps { } export const OnboardingGuide = ({ isPolling }: OnboardingGuideProps) => { - const primary = isDev ? 'cd gitnexus && npm run serve' : 'npx gitnexus@latest serve'; + const primary = isDev ? 'npm run --prefix gitnexus serve' : 'npx gitnexus@latest serve'; const termLabel = isDev ? 'Start backend' : 'Terminal'; // Step states: step 1 = copy command, step 2 = run/wait, step 3 = auto-connect @@ -277,7 +277,9 @@ export const OnboardingGuide = ({ isPolling }: OnboardingGuideProps) => { state={step2State} number={2} title={isPolling ? 'Waiting for server to start' : 'Paste and run in your terminal'} - description={isPolling ? undefined : 'Open a new terminal window, paste, and hit Enter.'} + description={ + isPolling ? undefined : 'Open a terminal at the project root, paste, and hit Enter.' + } > {isPolling && }