Start and restart individual tasks in turbo run #7487
Replies: 5 comments
-
Beta Was this translation helpful? Give feedback.
-
|
Those 2 issues don't seem to be related? Watch mode and forward stdin are nice to have but it doesn't seem that both of those would allow starting and restarting individual tasks in turbo run |
Beta Was this translation helpful? Give feedback.
-
|
hey @valeriangalliat I'll re-open this, because this issue is larger in scope compared to Watch Mode and forwarding stdin, but wanted to explain my thinking. The original issue description
Watch Mode is about re-running individual tasks when a related file or env var changes. I felt like that's one of the primary reasons to "restart" a task, but you're right that it's not exactly the same as a persistent server that needs to be restarted.
This is about forwarding stdin, but |
Beta Was this translation helpful? Give feedback.
-
|
Watch Mode is now available in Turborepo 2.0: https://turbo.build/repo/docs/reference/watch |
Beta Was this translation helpful? Give feedback.
-
|
WatchMode is great, but doesn't account for the situation I'm experiencing:
Sure, I can use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
Currently I've been using the library:
https://www.npmjs.com/package/run-ptyto start all tasks in parallel but also allows restarting individual tasks, and providing input to individual tasks via the console.This would be helpful because it allows developers to run a large amount of tasks in parallel but if one fails or stalls and can be restarted without having to restart all the packages in the monorepo.
Describe the solution you'd like
I'd like
turbo runto have the ability to restart individual tasks and accept standard input for individual tasks.Describe alternatives you've considered
Using
run-ptyinstead ofturbo runfor development.Beta Was this translation helpful? Give feedback.
All reactions