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

Colors are lost in the output of tasks #9

Open
asheehan opened this issue Mar 29, 2017 · 3 comments
Open

Colors are lost in the output of tasks #9

asheehan opened this issue Mar 29, 2017 · 3 comments

Comments

@asheehan
Copy link

Thanks for the great tool!

I'm running "mix test" (and mix test --cover) in my tasks and when the output is displayed, it has lost the colors that mix test usually shows. Is there any way to re-enable this?

@rkotze
Copy link
Owner

rkotze commented Apr 1, 2017

Hi Thanks. I'm sure there is. But will need to research it a bit. 👍

@nicooga
Copy link

nicooga commented Nov 1, 2017

It's worth nothing that this does not happen always. For example, I've configured eye_drops to run mix espec and mix credo. Espec outputs color, while credo does not.

When piping espec (mix espec | less) I see the broken ASCII color codes, but that does not happen with mix test and mix credo.

I remember this happening in some other context: the command being run detects being piped and skips the coloring. I think the solution was running the command with some flag that allowed to keep the coloring.

I don't see credo having this option though. May this is a credo issue?

@rkotze
Copy link
Owner

rkotze commented Nov 6, 2017

I've not had time to look into this. But thank you for your feedback.
I'm happy for anyone to take this on. 👍

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

3 participants