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

Add ability to call run [command] from subdirectory and have turbo build necessary targets up to desired target and then run the target #144

Closed
jaredpalmer opened this issue Dec 9, 2021 · 3 comments

Comments

@jaredpalmer
Copy link
Contributor

Describe the feature you'd like to request

  • cd app && turbo dev should build whatever is necessary

Describe the solution you'd like

  • We may need to have a way to mark the "root" folder
  • This also sets us up for esy-like environment variables and install commands, which we likely should be doing anyway.

Describe alternatives you've considered

  • Running everything from the root is painful. Turbo should fix this.
@lfades
Copy link
Member

lfades commented Dec 14, 2021

To keep it zero config could it be possible to read the package.json of parent folders looking for the turbo key? I'm not sure of what would be the downsides in this case but it should be fast enough if it doesn't have to read far up the tree, and turbo could then cache the position of the root

@jaredpalmer
Copy link
Contributor Author

Definite possibility. This will also be made easier when we move to #217 #218

@anthonyshew
Copy link
Contributor

Install turbo globally. :)

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

3 participants