Fork me on GitHub
#cider
<
2016-06-02
>
magnars11:06:09

@malabarba: it's been happening to me too. Could we get a list of things to check next time it happens, to help out with the reproduction issue?

anders11:06:12

@malabarba: same here. cider-repl-typeis cljin the CLJS repl buffer

jan.zy13:06:19

Hi, I am working simultaneously on a couple of projects. Is there an easy way of specifying a separate value of JVM_OPTS for each project?

jan.zy13:06:54

I mean JVM_OPTS for leiningen process started by CIDER.

jan.zy13:06:14

ok, found it 🙂 just add

{:user {:jvm-opts ["-Xmx3g"]}}
to profiles.clj in root of a project

malabarba13:06:01

@magnars It's complicated. 😞

malabarba13:06:30

Showing us the contents of the nrepl-messages buffer always helps.

malabarba14:06:45

In this specific case, there should be some messages in there saying status (state) and type "cljs".

malabarba14:06:06

My suspicion is that it's just going to say "clj" instead, which means the issue is in the backend.

malabarba14:06:01

In that case, there's no quick thing to check. But the thing I would do is start digging into cider.nrepl.middleware.track-state/update-and-send-cache and figure out why (cljs/grab-cljs-env msg) is returning nil.

malabarba14:06:29

Anyway, I'm going to write an ugly patch for this now.

malabarba15:06:19

@magnars: @anders Done

pbostrom16:06:14

is there a way to change the REPL target of the *cider-scratch* buffer? C-c M-r doesn't seem to have any effect

roberto16:06:17

what is a prefix argument?

rickmoynihan16:06:20

@roberto: C-u or C-u <int> ...

roberto16:06:58

ah, so where it says With a prefix argument it will clear the entire REPL buffer, leaving only a prompt.

roberto16:06:06

then it means C-u C-c C-o ??