[turbo.json/ui] add option for task to override global ui setting #9091
Closed
DerTimonius
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
|
What behavior would you expect to see when running |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-goals
No response
Background
I really love the TUI, but for some tasks it might make sense to use
streamas a UI setting instead of the TUI.An example would be unit tests in a single package with some interactivity (think Vitest) where in the TUI you would have to hit Enter and then interact with the output.
Adding the option to override the UI mode in specific tasks would allow for more granular use of the individual UI modes based on their use case.
It's not the end of the world if this wouldn't be implemented, but I think it would be nice to have.
Proposal
Allow for a
turbo.jsonlike the following:{ "$schema": "https://turborepo.org/schema.json", "ui": "tui", "tasks": { "start": { "cache": false }, "test.unit": { + "ui": "stream", "cache": true } } }Beta Was this translation helpful? Give feedback.
All reactions