Fork me on GitHub
#luminus
<
2016-03-06
>
lmergen19:03:01

hey guys, i'm having a bit of an issue with luminus + cider (emacs clojure integration)

lmergen19:03:20

as far as I understand, luminus loads an nrepl when it launches in dev mode, which is good

lmergen19:03:00

however, cider requires this plugin to be defined in your ~/.lein/profiles.clj:

{:repl {:plugins [[cider/cider-nrepl "0.12.0-SNAPSHOT"]]}}
what would be the way to go to make this plugin be loaded from within luminus? I don't want to put it in my actual codebase, but rather in a ~/.lein/ profile, because it's a development-environment specific thing, and not something that belongs in the main codebase

lmergen19:03:58

hmmm well i took it the other way around, and am now launching luminus from within the repl, but... i have to http/destroy and then http/start the server in order for the code changes to be noticed

lmergen19:03:09

i assume i could add this as a hook

lmergen19:03:30

or perhaps i should just skip the luminus part, and just use lein-ring directly... hmm

lmergen20:03:15

woa yes that's definitely the way to go

lmergen20:03:22

someone should update the Luminus REPL docs