fix(cli): include cwd logging in single service execution

This commit is contained in:
lukashow
2026-02-03 19:48:16 +08:00
committed by melvinchia3636
parent 2061f25b5e
commit 9e7e3b82b0

View File

@@ -1,3 +1,4 @@
import chalk from 'chalk'
import concurrently from 'concurrently'
import { PROJECTS } from '@/commands/project/constants/projects'
@@ -30,7 +31,9 @@ export async function startSingleService(
const cwd = config.cwd instanceof Function ? config.cwd() : config.cwd
executeCommand(command, { cwd }, extraArgs)
logger.debug(`Current Working Directory: ${chalk.blue(cwd)}`)
executeCommand(command, { cwd, stdio: 'inherit' }, extraArgs)
return
}