From 2d44353ee60b2df3c370dd5978d34190b078337c Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Thu, 17 Oct 2024 08:56:27 +0000 Subject: [PATCH] fix: mothership launch cwd --- .../cli/commands/MothershipCommand/ServeCommand/mothership.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pockethost/src/cli/commands/MothershipCommand/ServeCommand/mothership.ts b/packages/pockethost/src/cli/commands/MothershipCommand/ServeCommand/mothership.ts index ada30ad4..ad9a9850 100644 --- a/packages/pockethost/src/cli/commands/MothershipCommand/ServeCommand/mothership.ts +++ b/packages/pockethost/src/cli/commands/MothershipCommand/ServeCommand/mothership.ts @@ -84,5 +84,5 @@ export async function mothership(cfg: MothershipConfig) { args.push(`--dev`) } dbg(`args`, args) - bot.run(args, { env }) + bot.run(args, { env, cwd: _MOTHERSHIP_APP_ROOT() }) }