-
Notifications
You must be signed in to change notification settings - Fork 128
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
Allow subprocesses to show colors #26
Comments
There are some workarounds, discussed here:
For me |
Elm compiler is able to produce helpfully colorized error messages. Unfortunately these colors won't make it through webpack and elm-webpack-loader. As a workaround we can optionally use modd alongside with webpack. Even with modd elm-make will output color-codes only if output goes to a terminal, not through a pipe. There are several ways to do this, see: cortesi/modd#26 Here we use the utility `unbuffer` from the the tool `expect`, which is available for most Linux distros and for OSX. https://www.nist.gov/services-resources/software/expect
Elm compiler is able to produce helpfully colorized error messages. Unfortunately these colors won't make it through webpack and elm-webpack-loader. As a workaround we can optionally use modd alongside with webpack. Even with modd elm-make will output color-codes only if output goes to a terminal, not through a pipe. There are several ways to do this, see: cortesi/modd#26 Here we use the utility `unbuffer` from the the tool `expect`, which is available for most Linux distros and for OSX. https://www.nist.gov/services-resources/software/expect
|
Dear people, I'm on Windows and I'm using Any hint for show colors? |
I've just added an explanatory note about colourized output to the README. Let me know if you feel that this needs any expansion or clarification. |
Right now modd overwrites the colors of subprocesses. It would be nice if those colors were preserved.
The text was updated successfully, but these errors were encountered: