Fork me on GitHub

Hi there, new to luminus, just started on the "web development with clojure 2nd edition" I am sorry that I ask what I expect is repeatedly asked here... How do I set this up with Cider? You don't happen to have a prepared link for the discussion I suppose...


i dont think u need to do anything special


do u have any dependency to cider in the classpath ?


@jmayaalv I tried [cider/cider-nrepl "0.18.0"] both as plugin and as dependency in the project.clj but I get the following warning when I cider-connect: > WARNING: CIDER requires cider-nrepl to be fully functional. Many things will not work without it!


cider now injects all the neededd deps so u should actually remove it


@jmayaalv with or without the dependency, luminus starts its own nrepl, This conflicts with Cider I expect resulting in missing functionality..


the cider manual states that dependencies aren't injected for cider-connect and should be added to the profiles.clj , I tried that and besides not working for luminus, It conflicted with other templates I was using, so I am trying it in the project.clj instead. Also seem to not work. I will try to add a profile.clj in the project directory next and see.


oh ok i misread you. you r starting the repl outside of cider. i normally dont do that. i do a a cider-jackin


I found the solution thanks to @bozhidar if anyone was following it. he refered me to embedding repl in your app using a handler as documented in:

👍 4

thanks for sharing!