You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a workspace that includes this script: "test": "pnpm --recursive --stream run test",
When I execute it, EVERY line is prefixed.
If I don't use stream, it shows the prefix once, then shows a line down the side, which is MUCH cleaner and wastes less horizontal space, but it doesn't show the full log:
Additionally, there appears to be a regression of #2148 ; colors on the test timestamps are lost
Describe the solution you'd like
Either:
a new flag that, in conjunction with --stream combines the styling of non-stream but shows full output
change the --stream behavior to be the same as above
And:
Here's a mock-up of how I'd like it to look. Note that I changed the color of the workspace and line from that purple to match the color you see in --stream; so if multiple workspaces get run, each would have a different associated color:
Describe the drawbacks of your solution
Some people may like the current verbose prefix styling. I figure using a unique line color for projects will be sufficient for most people, though, as long as they aren't relying on grep. (grep is probably a good argument for this being a new flag)
Describe alternatives you've considered
changing the script from pnpm --recursive --stream run test to echo Running workspace A tests... && pnpm --dir workspaceA run test ; echo running Workspace B tests... && pnpm --dir workspaceB run test
The text was updated successfully, but these errors were encountered:
Contribution
Describe the user story
I have a workspace that includes this script:
"test": "pnpm --recursive --stream run test",
When I execute it, EVERY line is prefixed.
If I don't use stream, it shows the prefix once, then shows a line down the side, which is MUCH cleaner and wastes less horizontal space, but it doesn't show the full log:
Additionally, there appears to be a regression of #2148 ; colors on the test timestamps are lost
Describe the solution you'd like
Either:
--stream
combines the styling of non-stream but shows full output--stream
behavior to be the same as aboveAnd:
Here's a mock-up of how I'd like it to look. Note that I changed the color of the workspace and line from that purple to match the color you see in
--stream
; so if multiple workspaces get run, each would have a different associated color:Describe the drawbacks of your solution
Some people may like the current verbose prefix styling. I figure using a unique line color for projects will be sufficient for most people, though, as long as they aren't relying on grep. (grep is probably a good argument for this being a new flag)
Describe alternatives you've considered
changing the script from
pnpm --recursive --stream run test
toecho Running workspace A tests... && pnpm --dir workspaceA run test ; echo running Workspace B tests... && pnpm --dir workspaceB run test
The text was updated successfully, but these errors were encountered: