Expected behavior
Jack-in on ClojureScript project connects project buffers to the REPL
Actual behavior
Jack-in succeeds, opens the page and the REPL buffer, but does not connect any buffers in the project to the repl, leaving them in a [not connected] state.
Steps to reproduce the problem
I've got a couple projects that use figwheel, three of them startup and then instantly disconnect, and one that does successfully connect each buffer to the repl. I'm trying to figure out what's different about the one that is working from the 3 that are not. Example public repo that work is: https://github.com/dgtized/tile-game, but it immediately disconnects for https://github.com/dgtized/shimmers and https://github.com/dgtized/sierpinski-sieve. The other repo that it disconnects on is private.
The first project this broke on (shimmers) I had also upgraded clojurescript, but that was not the case for the other three that broke and I witnessed the same behavior. For the one that works (tile-game) I was able to upgrade to latest clojurescript, so it does not appear to be the source of the issue.
Finally, I usually install Cider from MELPA and was running version 20260510.755. I tried downgrading to 1.21.0 and it started working on all projects. When I reverted back to the MELPA release it stopped working again.
So TLDR, it does strongly appear to be from a change in Cider, but there might also be a setting that is contributing that I haven't been able to isolate as yet.
Initially reported this on ClojureScript slack and summarized here.
Environment & Version information
CIDER version information
Breaks on Cider 20160510.755:
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps \{\:deps\ \{nrepl/nrepl\ \{\:mvn/version\ \"1.7.0\"\}\ cider/cider-nrepl\ \{\:mvn/version\ \"0.59.0\"\}\ refactor-nrepl/refactor-nrepl\ \{\:mvn/version\ \"3.11.0\"\}\ cider/piggieback\ \{\:mvn/version\ \"0.6.1\"\}\}\ \:aliases\ \{\:cider/nrepl\ \{\:main-opts\ \[\"-m\"\ \"nrepl.cmdline\"\ \"--middleware\"\ \"\[refactor-nrepl.middleware/wrap-refactor\,cider.nrepl/cider-middleware\,cider.piggieback/wrap-cljs-repl\]\"\]\}\}\} -M:dev:cider/nrepland
Works on Cider 1.21.0:
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps \{\:deps\ \{nrepl/nrepl\ \{\:mvn/version\ \"1.5.2\"\}\ cider/cider-nrepl\ \{\:mvn/version\ \"0.58.0\"\}\ refactor-nrepl/refactor-nrepl\ \{\:mvn/version\ \"3.11.0\"\}\ cider/piggieback\ \{\:mvn/version\ \"0.6.1\"\}\}\ \:aliases\ \{\:cider/nrepl\ \{\:main-opts\ \[\"-m\"\ \"nrepl.cmdline\"\ \"--middleware\"\ \"\[refactor-nrepl.middleware/wrap-refactor\,cider.nrepl/cider-middleware\,cider.piggieback/wrap-cljs-repl\]\"\]\}\}\} -M:dev:cider/nrepl
Lein / Clojure CLI version
Clojure CLI version 1.12.4.1618
Emacs version
GNU Emacs 32.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4) of 2026-05-09
(snapshot build from git)
Operating system
Ubuntu 2025.04 (plucky)
JDK distribution
openjdk version "25.0.1" 2025-10-21
OpenJDK Runtime Environment (build 25.0.1+8-Ubuntu-125.04)
OpenJDK 64-Bit Server VM (build 25.0.1+8-Ubuntu-125.04, mixed mode, sharing)
Expected behavior
Jack-in on ClojureScript project connects project buffers to the REPL
Actual behavior
Jack-in succeeds, opens the page and the REPL buffer, but does not connect any buffers in the project to the repl, leaving them in a
[not connected]state.Steps to reproduce the problem
I've got a couple projects that use figwheel, three of them startup and then instantly disconnect, and one that does successfully connect each buffer to the repl. I'm trying to figure out what's different about the one that is working from the 3 that are not. Example public repo that work is: https://github.com/dgtized/tile-game, but it immediately disconnects for https://github.com/dgtized/shimmers and https://github.com/dgtized/sierpinski-sieve. The other repo that it disconnects on is private.
The first project this broke on (shimmers) I had also upgraded clojurescript, but that was not the case for the other three that broke and I witnessed the same behavior. For the one that works (tile-game) I was able to upgrade to latest clojurescript, so it does not appear to be the source of the issue.
Finally, I usually install Cider from MELPA and was running version 20260510.755. I tried downgrading to 1.21.0 and it started working on all projects. When I reverted back to the MELPA release it stopped working again.
So TLDR, it does strongly appear to be from a change in Cider, but there might also be a setting that is contributing that I haven't been able to isolate as yet.
Initially reported this on ClojureScript slack and summarized here.
Environment & Version information
CIDER version information
Breaks on Cider 20160510.755:
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps \{\:deps\ \{nrepl/nrepl\ \{\:mvn/version\ \"1.7.0\"\}\ cider/cider-nrepl\ \{\:mvn/version\ \"0.59.0\"\}\ refactor-nrepl/refactor-nrepl\ \{\:mvn/version\ \"3.11.0\"\}\ cider/piggieback\ \{\:mvn/version\ \"0.6.1\"\}\}\ \:aliases\ \{\:cider/nrepl\ \{\:main-opts\ \[\"-m\"\ \"nrepl.cmdline\"\ \"--middleware\"\ \"\[refactor-nrepl.middleware/wrap-refactor\,cider.nrepl/cider-middleware\,cider.piggieback/wrap-cljs-repl\]\"\]\}\}\} -M:dev:cider/nreplandWorks on Cider 1.21.0:
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps \{\:deps\ \{nrepl/nrepl\ \{\:mvn/version\ \"1.5.2\"\}\ cider/cider-nrepl\ \{\:mvn/version\ \"0.58.0\"\}\ refactor-nrepl/refactor-nrepl\ \{\:mvn/version\ \"3.11.0\"\}\ cider/piggieback\ \{\:mvn/version\ \"0.6.1\"\}\}\ \:aliases\ \{\:cider/nrepl\ \{\:main-opts\ \[\"-m\"\ \"nrepl.cmdline\"\ \"--middleware\"\ \"\[refactor-nrepl.middleware/wrap-refactor\,cider.nrepl/cider-middleware\,cider.piggieback/wrap-cljs-repl\]\"\]\}\}\} -M:dev:cider/nreplLein / Clojure CLI version
Clojure CLI version 1.12.4.1618
Emacs version
GNU Emacs 32.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4) of 2026-05-09
(snapshot build from git)
Operating system
Ubuntu 2025.04 (plucky)
JDK distribution
openjdk version "25.0.1" 2025-10-21
OpenJDK Runtime Environment (build 25.0.1+8-Ubuntu-125.04)
OpenJDK 64-Bit Server VM (build 25.0.1+8-Ubuntu-125.04, mixed mode, sharing)