Maybe! It’s unclear to me whether the template hasn’t been updated yet or whether it’s a deliberate design decision to stick with the older version for reasons such as reliability or configuration or who knows what. Shadow is popular, true, but for me the primary reason I was interested in using it was for easier npm dependency integration, but recent developments in cljs have made it easier to do this without shadow https://clojurescript.org/news/2020-04-24-bundle-target
I’ve found that I can connect to the repl from emacs by first running lein shadow watch app
and in another tab lein run
at the terminal, then switching to emacs and running cider-connect-clj
followed by specifying the localhost and port 7002 to cider prompts, then calling (shadow/repl :app)
from repl
I thought cider-jack-in
was the usual way to start a cider repl in emacs, but for some reason it doesn’t seem to work with luminus projects
Looks like it works the same way with figwheel too. lein figwheel
and lein run
in separate terminal tabs, then cider-connect-clj
in emacs, specify localhost and port 7002 at cider prompts, then run (cljs)
at repl