mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 06:26:13 +01:00
Fixed so that node start can accept escaped spaces in the path (#1649)
This commit is contained in:
parent
78012be6e4
commit
f9f252c7a6
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ const foundryPath = process.env.FOUNDRY_MAIN_PATH || '../../../../FoundryDev/mai
|
||||||
const dataPath = process.env.FOUNDRY_DATA_PATH || '../../../';
|
const dataPath = process.env.FOUNDRY_DATA_PATH || '../../../';
|
||||||
|
|
||||||
// Run the original command with proper environment
|
// 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}"`)], {
|
spawn('npx', ['concurrently', ...args.map(arg => `"${arg}"`)], {
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue