greyblake / cargo-testify

Watches changes in a rust project, runs test and shows friendly notification
MIT License
82 stars 5 forks source link

Build output not colorized #3

Open waywardmonkeys opened 7 years ago

waywardmonkeys commented 7 years ago

When using cargo testify on macOS (at least), the build output lacks the colorization that is typically present in a cargo test run.

greyblake commented 7 years ago

That's the issue I could not figure out how to solve: https://github.com/greyblake/cargo-testify/blob/master/src/reactor.rs#L71

I can use Command.spawn to preserve color output, but then I can not intercept stdout and stderr to fetch notification details. Any help here is welcome.

allenbenz commented 6 years ago

does running testify with -- --color always improve the situation?

greyblake commented 6 years ago

Running with --color always partially helps. It shows bold, but not green nor red.