Fork me on GitHub
#nrepl
<
2020-07-03
>
Jakub Holý (HolyJak)16:07:33

Hello! When I start nREPL from a terminal then some output (println, System.out.print etc) will go to that terminal. Is there a way for the output to go also to the connected client so that I can only focus on the REPL window in my editor and don't need to check the terminal in addition to that? Thank you!

dominicm19:07:57

There's a cider middleware which can capture System out

flowthing19:07:36

I am actually also interested if there’s a non-CIDER option.

flowthing19:07:34

I vaguely remember something about rebinding *out*, but not sure.