mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-06-28 14:55:45 +00:00
fix(cli): ensure stdio is inherited for command execution in startSingleService
This commit is contained in:
@@ -30,7 +30,7 @@ export async function startSingleService(
|
||||
|
||||
const cwd = config.cwd instanceof Function ? config.cwd() : config.cwd
|
||||
|
||||
executeCommand(command, { cwd }, extraArgs)
|
||||
executeCommand(command, { cwd, stdio: 'inherit' }, extraArgs)
|
||||
|
||||
return
|
||||
}
|
||||
@@ -39,7 +39,11 @@ export async function startSingleService(
|
||||
if (service in PROJECTS) {
|
||||
const projectPath = PROJECTS[service as keyof typeof PROJECTS]
|
||||
|
||||
executeCommand(`cd ${projectPath} && bun run dev`, {}, extraArgs)
|
||||
executeCommand(
|
||||
`cd ${projectPath} && bun run dev`,
|
||||
{ stdio: 'inherit' },
|
||||
extraArgs
|
||||
)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user