-
Notifications
You must be signed in to change notification settings - Fork 701
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
Regression: no output during build step for Cabal scripts in 3.8 #8527
Comments
hi, do you see the expected behaviour with -v or -v2? |
Ah, thanks. I'm not sure what the best UX is here. I feel like it would be less surprising if the build output were printed by default, with a message about how to disable it. But we'd want the ability to specify |
#7790 would be a big step in the right direction. |
Just 2c: I think it's fine for |
I admittedly am not sure I'm familiar with your "boring technical reasons", but I think not printing anything would be (and in the case of scripts, is) pretty poor UX. A user wants to know what's going on when a process doesn't respond instantly. |
I don't see anything about this in the changelog.
Main.hs
:This is great when nothing needs to be rebuilt (an impossible scenario before 3.8, as nothing was cached). And we do see some output if building fails. But I'd argue that it's very confusing not to see any during a successful build either. At least in the case where significant building of dependencies is necessary, it's impossible to know whether the script is hanging at run time, or useful work is being done.
It seems to me that the ideal behaviour would be for any output from the build step to go to
stderr
by default, perhaps with flags to alter behaviour.The text was updated successfully, but these errors were encountered: