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
Starting it with cider-jack-in-clj&cljs, using lein with default parameters and either shadow or shadow-select (doesn't really matter the choice here) as cider-default-cljs-repl, doesn't set the correct cider-repl-type for the CLJS REPL. However, setting it manually via cider-set-repl-type everything works as expected. This sounds oddly familiar to #2305, but I'm not sure if it is related or not to the solution.
Expected behavior
Both REPLs are initialized with the correct cider-repl-type.
Actual behavior
The CLJS REPL remains with cider-repl-type as clj.
Steps to reproduce the problem
Unfortunately, I can't provide with a sample project ATM, but it would suffice to
Have any dummy project with a shadow-cljs build and some Clojure code;
Put the watch call from shadow.cljs.devtools.api anywhere (by this I mean in any form/function specified there) within the :init option under :repl-options;
Start CIDER with cider-jack-in-clj&cljs;
Select lein as a build tool, and either shadow-select or shadow as the CLJS REPL. Finally, choose the build for the CLJS specified in shadow-cljs.edn.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Given a Leiningen project with the following configuration
Starting it with
cider-jack-in-clj&cljs
, usinglein
with default parameters and eithershadow
orshadow-select
(doesn't really matter the choice here) ascider-default-cljs-repl
, doesn't set the correctcider-repl-type
for the CLJS REPL. However, setting it manually viacider-set-repl-type
everything works as expected. This sounds oddly familiar to #2305, but I'm not sure if it is related or not to the solution.Expected behavior
Both REPLs are initialized with the correct
cider-repl-type
.Actual behavior
The CLJS REPL remains with
cider-repl-type
asclj
.Steps to reproduce the problem
Unfortunately, I can't provide with a sample project ATM, but it would suffice to
shadow-cljs
build and some Clojure code;watch
call fromshadow.cljs.devtools.api
anywhere (by this I mean in any form/function specified there) within the:init
option under:repl-options
;cider-jack-in-clj&cljs
;lein
as a build tool, and eithershadow-select
orshadow
as the CLJS REPL. Finally, choose the build for the CLJS specified inshadow-cljs.edn
.Environment & Version information
CIDER version information
Lein/Boot version
Leiningen 2.9.8 on Java 16.0.2 OpenJDK 64-Bit Server VM
Emacs version
GNU Emacs 28.0.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of 2021-12-15
Operating system
Arch Linux x86_64, kernel v5.15.7-arch1-1
The text was updated successfully, but these errors were encountered: