From ee9283ba7f01bae9c275a8563e4163a71023c441 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sun, 8 Feb 2026 19:22:00 +0100 Subject: [PATCH] Fixed so that node start can accept escaped spaces in the path --- tools/run-start.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/run-start.mjs b/tools/run-start.mjs index e620d13f..3f6b25cb 100644 --- a/tools/run-start.mjs +++ b/tools/run-start.mjs @@ -18,7 +18,7 @@ const foundryPath = process.env.FOUNDRY_MAIN_PATH || '../../../../FoundryDev/mai const dataPath = process.env.FOUNDRY_DATA_PATH || '../../../'; // Run the original command with proper environment -const args = ['rollup -c --watch', `node "${foundryPath}" --dataPath="${dataPath}" --noupnp`, 'gulp']; +const args = ['rollup -c --watch', `node "\"${foundryPath}\"" --dataPath="${dataPath}" --noupnp`, 'gulp']; spawn('npx', ['concurrently', ...args.map(arg => `"${arg}"`)], { stdio: 'inherit',