这是indexloc提供的服务,不要输入任何密码
Skip to content

Forward stdin #1235

@marvinroger

Description

@marvinroger

Describe the feature you'd like to request

Hi!

I have a pretty standard setup, where I have a dev script running nodemon. nodemon allows to type a special rs command to stdin, triggering a restart of the process, which is very useful.

It works fine when ran directly, but it does not work through turbo, as turbo does not forward stdin to the underlying process.

Describe the solution you'd like

Maybe a task definition in turbo.json could have a forwardStdin option, which would, when enabled, forward stdin!
I think forwardStdin: true should be mutually exclusive with cache: true, because stdin could impact the result of the task.

TURBO-588

Metadata

Metadata

Labels

linear: turboIssues to sync to Linear for Turborepo team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions