Fork me on GitHub
#cider
<
2018-11-25
>
mateusz.fiolka06:11:29

Hi, is there a way for me to define clj and cljs repls options, so that when I invoke clj/`cljs repl` - one will be called with -R:server and another with -R:client option? I'm using clj deps. Tried with cider-clojure-cli-global-options, but it is global, if I add -R:server, it will be used for cljs too.

mateusz.fiolka07:11:02

(I'd like to use both in one project, and giving to client dependencies and paths of server doesn't make sense and vice versa)

mateusz.fiolka07:11:31

(I don't use shadow-cljs, server part is on the jvm)

bozhidar12:11:11

No, there’s no way to do this. The assumption is that you normally need the same deps for the Clojure and ClojureScript REPLs and the actual REPL is initialized client-side by CIDER itself.

mateusz.fiolka12:11:58

Or I could just create the repls by myself and only connect from cider, right?

bozhidar14:11:35

Of course.

4
alexyakushev16:11:38

@bozhidar If you don't mind brewing 0.19.0 a little more, I've just pushed compliment 0.3.8-SNAPSHOT with a couple of important class field/method completion fixes

bozhidar16:11:22

@alexyakushev Not at all. I’ve been swamped with work lately, so delaying the release is fine by me.

alexyakushev16:11:08

Thanks! Would you bump the dependency or should I?

bozhidar17:11:31

I’ll do it now.

bozhidar17:11:45

Done.

👍 4