-
Notifications
You must be signed in to change notification settings - Fork 8
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
Stdout and stderr from sbt commands is gone forever #11
Comments
Thanks for the report. How about adding command-line options to write stdout and stderr to files? e.g. The only problem is that these options would be ignored if the sbt server is already running, which is potentially confusing behaviour. |
See also #1 and #7, which are variants of the same problem: any options we take on the command line will only take effect if sbt-client starts an sbt server because it's not already running. Unless we can somehow detect if an sbt server is running, but with different arguments? In that case we could kill the server and start a new one. |
You might want to hold off introducing new UX here, given sbt/sbt#5319 is coming (at some point, hopefully), which would mostly subsume this client (AFAICT). |
@cb372 yes, |
If it comes to server already running... yeah, possibly a check of the arguments of the existing server instance + an option like |
The underlying
sbt
server is launched with stdin/out/err all pointing to /dev/null:and thus the output from commands like
sbt test
orsbt it
is unavailable, only the logs ([info]
etc.). Is there any way to circumvent this limitation?The text was updated successfully, but these errors were encountered: