Fork me on GitHub
#cider
<
2016-03-27
>
malabarba02:03:13

@fommil I don't use flycheck with Clojure, but it's entirely possible. Have you tried turning it off?

malabarba02:03:57

As for the second JVM, yes, that's just the way that lein works. You'll get the same problem if you call lein repl on the command line. I think There are ways around it. I've heard of a package called trampoline.

conaw14:03:57

Hey ciderists, I’m normally an inf-clojure user, but seeing that this reagent template came with a cider option, I figured it would be worth a try — has anyone used this? — is there any additional configuration i need to do to start a figwheel server/repl up using cider? https://github.com/reagent-project/reagent-template

conaw15:03:55

So, I change from rhino to figwheel as default repl?

conaw15:03:34

also, for some reason cider-jack-in-clojurescript isn’t appearing in my M-x, might I have the wrong version?

lopalghost16:03:34

I find everything works best if you always use the latest snapshot

malabarba17:03:37

@conaw that command has been around for a couple of stable releases.

malabarba18:03:40

And yes, if you'd like to use figwheel, change that variable to the figwheel command like instructed on the readme.

fommil19:03:59

@malabarba: nice hint, thanks. I'm not sure how to use that to launch cider. In ENSIME we used to have a similar problem, and we rewrote the launcher so that our call to sbt (equivalent of lein) wrote out a classpath file which we used to launch (platform independently) directly from Emacs

fommil19:03:01

@malabarba: I don't really want to turn the flycheck stuff off, I want to have red squiggly lines when I do something dumb. Although maybe all the linters are overkill and I should restrict to just the ones I want. Next time I'm doing some clojure hacking, I'll try without the linters and see if this is cider or the linters causing the problem.

malabarba19:03:52

@fommil yeah,when I suggested to turn it off, I just meant it as way to track down the cause. If you verify that flycheck is indeed the cause you can play around with its configurations to speed it up.

malabarba19:03:48

For instance, flycheck has an option to only run the linters when you save the file, instead of after a timer. You could also increase the timer delay.

malabarba19:03:11

But, like I said, it makes sense to verify that flycheck is the cause first. :-)

malabarba19:03:09

And no, I don't know how you can use trampoline from cider either. But it might be possible by customising

malabarba19:03:30

cider-lein-parameters