Skip to content

cwd option for "then" functions #32

@thiagogabriel

Description

@thiagogabriel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions