You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both cider-jack-in-clj and cider-jack-in-cljs should work if special buffers are hidden.
Actual behavior
If nrepl-hide-special-buffers is enabled, connecting to a sibling session calls nrepl-start-server-process which does not ’see’ the existing nrepl buffer and fails to generate a new buffer for the new session/connection.
Steps to reproduce the problem
Set nrepl-hide-special-buffers nil
In a project using shadow-cljs, run cider-jack-in-clj first
After 2 succeeds, run cider-jack-in-cljs
Verify that 3 never completes successfully
This should be reproducible in either order: CLJ then CLJS, or vice-versa. The key is using the sibling session to connect, and the option to hide special nrepl buffers.
Environment & Version information
CIDER version information
Include here the version string displayed when
CIDER's REPL is launched. Here's an example:
in a project with just a deps.edn file consisting only of {}, with nrepl-hide-special-buffers set to nil if you jack in twice you will end up with two repls. When you set nrepl-hide-special-buffers to t, jacking in twice will create only a single repl. It will start two jvms but only the first will connect. CIDER mistakenly reuses the first repl's nrepl buffer so the connection callback mechanism is never triggered.
So rather than two files with nREPL server started on port 42097 on host localhost - nrepl://localhost:42097 you end up with one buffer with both connection statements in it:
nREPL server started on port 42097 on host localhost - nrepl://localhost:42097
nREPL server started on port 36653 on host localhost - nrepl://localhost:36653
Expected behavior
Both cider-jack-in-clj and cider-jack-in-cljs should work if special buffers are hidden.
Actual behavior
If
nrepl-hide-special-buffers
is enabled, connecting to a sibling session callsnrepl-start-server-process
which does not ’see’ the existing nrepl buffer and fails to generate a new buffer for the new session/connection.Steps to reproduce the problem
nrepl-hide-special-buffers nil
cider-jack-in-clj
firstcider-jack-in-cljs
This should be reproducible in either order: CLJ then CLJS, or vice-versa. The key is using the sibling session to connect, and the option to hide special nrepl buffers.
Environment & Version information
CIDER version information
Include here the version string displayed when
CIDER's REPL is launched. Here's an example:
Lein/Boot version
Leiningen 2.9.1
Emacs version
26.3
Operating system
OS X 10.15.2 Catalina
The text was updated successfully, but these errors were encountered: