-
Notifications
You must be signed in to change notification settings - Fork 177
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
triple printlns #266
Comments
As per slack discussion, the first suspect is timbre. I'll have to try it out to figure out whether we're doing something wrong, but I'm very busy this week. |
I had a look into this problem and it seems to me that timbre is not the culprit. Even when I replace calls to timbre with println I also get the triple prints. |
It does not triple print when I run my application through the emacs cider repl. Only when I use |
Did you also remove the timbre dep completely?
What is the complete workflow in that case? Is it something like the following?
Or is it like this?
|
I was able to reproduce the bug in a quite minimal example: https://github.com/Kungi/reproduce-triple-printlns I run |
Thank you, this will be hugely useful. I expect I'll be able to fix it over the weekend. |
Ok, I see what's going on. The reason you see 3 outputs instead of 2 is that |
In any case, I think the solution is to disable this automatic forwarding of the server |
I'm in favour of this idea. :-) |
Connected sessions must send a message with an "out-subscribe" op in order to have server messages forwarded to them. The forwarded outs are then sent as replies to this message (so it must be able to handle out).
Related to clojure-emacs/cider-nrepl#266. Goes with clojure-emacs/cider-nrepl#267.
Connected sessions must send a message with an "out-subscribe" op in order to have server messages forwarded to them. The forwarded outs are then sent as replies to this message (so it must be able to handle out).
Connected sessions must send a message with an "out-subscribe" op in order to have server messages forwarded to them. The forwarded outs are then sent as replies to this message (so it must be able to handle out).
[Fix #266] Only forward server out to subscribed clients
I'm seeing thrice the output of println when I enable [cider/cider-nrepl "0.10.0-SNAPSHOT"] in my user profile. I didn't have this problem with 0.9.0.
In case it's useful, I'm using these other plugins in my profiles.clj:
A look into my project.clj:
The text was updated successfully, but these errors were encountered: