-
Notifications
You must be signed in to change notification settings - Fork 12
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 from Hspec tests results are not displayed in ghciwatch output #330
Comments
Hmmm, you might need to tweak something in your test suite runner ( |
I was going to open an issue myself for another problem with colors -- maybe related? If I run https://github.com/chreekat/cubectl , the main function prints a bunch of lo-tech tests. One of them is pretty-printing that involves a bunch of color. In the screenshot below, there are two tmux panes.
Since the color blocks are just a space character with colored background, nothing shows up at all in ghciwatch. |
Thanks, that's a helpful test case! |
Realized after revisiting I could pass
And this results in colored output! However, when that arg is passed, file reload stops working like as mentioned in this issue: #189 Closing this for now. |
I'd like to reopen the issue since that sounds like a workaround hack, and my own test case isn't solvable that way. :) |
What happened?
When running a test suite (hspec) with
ghciwatch
with the following command:Colors to not appear in the test output.
In addition to passing in
-fdiagnostics-color=always
thru a cli option, I have added it toghc-options
inmy-app.cabal
andproject.cabal
:What did you expect to happen?
I expected the colored output from the test to be visible in
ghciwatch
. Here's a screenshot of the output:Here's what I would expect the it to look like (via ghcid):
Steps to reproduce the issue
I think there's enough info above!
The version of ghciwatch with the bug
ghciwatch 1.0.1
The text was updated successfully, but these errors were encountered: