Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workingDir is not respected on multi-app configs #743

Closed
giratikanon opened this issue Aug 1, 2015 · 1 comment
Closed

workingDir is not respected on multi-app configs #743

giratikanon opened this issue Aug 1, 2015 · 1 comment

Comments

@giratikanon
Copy link

Setting workingDir in a multi-app config doesn't work, because spawnWith only looks for the main thread's workingDir: cli.js#L280. Each config's workingDir is merged into options, but spawnWith never gets changed.

So if you're in /home and run forever apps.json, and app.json looks like this:

[
  {
    ...
    "workingDir": "/app-1" 
  }, 
 {
    ...
    "workingDir": "/app-2" 
  }
]

But process.cwd() for app-1 and app-2 returns this:

/home
@indexzero
Copy link
Member

This was fixed in 0.15.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants