From e7a5d93861d2afb350db216a275a2c5bdedf4e34 Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Wed, 19 Feb 2025 18:15:03 +0100 Subject: [PATCH] feat(api): add NODE_ENV: development --- libs/langgraph-api/src/cli/spawn.mts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libs/langgraph-api/src/cli/spawn.mts b/libs/langgraph-api/src/cli/spawn.mts index 948066e..7483e11 100644 --- a/libs/langgraph-api/src/cli/spawn.mts +++ b/libs/langgraph-api/src/cli/spawn.mts @@ -53,6 +53,12 @@ For production use, please use LangGraph Cloud. cwd: options.projectCwd, }), ], - { stdio: ["inherit", "inherit", "inherit", "ipc"], env: context.env }, + { + stdio: ["inherit", "inherit", "inherit", "ipc"], + env: { + ...context.env, + NODE_ENV: "development", + }, + }, ); }