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

cwd option for "then" functions #32

Open
thiagogabriel opened this issue Aug 16, 2014 · 0 comments
Open

cwd option for "then" functions #32

thiagogabriel opened this issue Aug 16, 2014 · 0 comments

Comments

@thiagogabriel
Copy link

Hi @jarradseers,
What do you think about loading cwd option from all the items? To me, it seems more intuitive.

load('models', {cwd: 'app'})
  .then('controllers', {cwd: 'app'})
  .then('routes', {cwd: 'config'})
  .into(app)

Do you think it makes sense?

Today load() sets the cwd param to all modules.

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

1 participant