elm-lang / elm-make

A build tool for Elm projects
BSD 3-Clause "New" or "Revised" License
175 stars 45 forks source link

Add `--color=always` flag for forcing color output #116

Closed jamonholmgren closed 7 years ago

jamonholmgren commented 7 years ago

Ref: https://github.com/madsflensted/elm-brunch/issues/28#issuecomment-247775995

Currently, elm-make will suppress color coding if it thinks it's not operating in a TTY. Unfortunately, this means that launching elm-make from a build tool like brunch will result in non-color coded output.

According to @niklas, the common way to solve this is to allow a flag like grep --color=always. If we add this to elm-make, that would allow elm-brunch to use that flag and preserve color coding.

Thoughts?

process-bot commented 7 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

evancz commented 7 years ago

Thanks for the issue! Tracking in https://github.com/elm-lang/elm-make/issues/123

boxed commented 6 years ago

Wish I could react to #123 ! Would be great to have this.