Open jamesward opened 4 years ago
Should be doable. But most projects e.g. even the Go binaries are likely to have screens full of build messages that the user might fail to keep track of. Similarly docker-build tends to treat stderr as red (90% of the time causing false alarms to the user).
Thanks for filing the feedback so fast! Agreed, it would be really nice to opt-in to the logs, and preferably even to configure the button to always display logs (so that we can show what our project logs look like)
Yeah, there could also be an app.json
flag.
I resisted not to say yet another flag, but it seems inevitable. :)
For the record, we do collect those logs already, but we only print if we fail.
And I just realized why it currently isn't possible to stream.
It's because we have an animation printing [ /|\_/... ] Building container image
and while that's going on, we can't stream stuff to the output stream as it would mess with the animation.
Yeah, the app.json
creep is real.
In this case we could disable the spinner.
BTW, for some reason the spinner doesn't work (sometimes or all the time?). #182
It is nice to default to the cleanliness of not displaying build logs, but it would be cool if the user could see them. I remember @ahmetb indicating it might be hard to implement, but something like the following would be cool: