luminus

vaer-k 2020-05-18T16:28:41.063100Z

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

vaer-k 2020-05-18T16:35:49.063300Z

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

vaer-k 2020-05-18T16:37:14.063600Z

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

vaer-k 2020-05-18T16:51:56.063800Z

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