From e27776df3d9fc0e750f0548a92e64f26d7cd4f00 Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Wed, 6 Nov 2024 15:27:02 -0500 Subject: [PATCH] fix: use cwd when running application --- api/src/cli/commands/start.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/cli/commands/start.ts b/api/src/cli/commands/start.ts index b760b747e..dabdb6b97 100644 --- a/api/src/cli/commands/start.ts +++ b/api/src/cli/commands/start.ts @@ -11,5 +11,6 @@ export const start = async () => { execSync(`${PM2_PATH} start ${join(import.meta.dirname, '../../', 'ecosystem.config.json')} --update-env`, { env: process.env, stdio: 'inherit', + cwd: process.cwd() }); };