sindresorhus / grunt-concurrent

Run grunt tasks concurrently

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: mark which output belongs to which task

flyon opened this issue · comments

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 👍

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