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

Suggestion: mark which output belongs to which task #94

Open
flyon opened this issue Jul 20, 2017 · 1 comment
Open

Suggestion: mark which output belongs to which task #94

flyon opened this issue Jul 20, 2017 · 1 comment

Comments

@flyon
Copy link

flyon commented Jul 20, 2017

the logConcurrentOutput option is perfect for what I want. Though since I run several build processes with their own watch mechanisms, some output at the same time.. Would it be possible to mark which task is ouputting by prepending a string?

so

*task1 output line1*
*task1 output line2*
*task2 output line1*
*task1 output line3*

becomes

[task1] *task1 output line1*
[task1] *task1 output line2*
[task2] *task2 output line1*
[task1] *task1 output line3*

bonus: different colors for each task name within the brackets 👍

@sindresorhus
Copy link
Owner

Sure, PR welcome. Should be opt-in through an option though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants