dear all, whether cider-nrepl support ring? When I start ring server with this option:
:ring {:handler km.core/app
:nrepl {:start? true}}
Then I cider-connect-clj to the nrepl, the code completion is not working.This is using lein ring-server?
Yes. I'm using lein ring server-headless to start the server and nrepl
Unfortunately that plugin injects nrepl version 0.3.2 I think. Currently version 0.7 is out. There’s an open issue to fix this
Thanks. I got the issue: https://github.com/weavejester/lein-ring/issues/202
(when @env/dev?
(nrepl.server/start-server :bind "0.0.0.0" :port nrepl-port
:handler cider-nrepl-handler)
(println "[INIT] nrepl started on port" nrepl-port))
with requires on [cider.nrepl :refer [cider-nrepl-handler]]
and nrepl.server
Thank you, I will try this solution.