Fork me on GitHub
#cider
<
2017-03-30
>
ccann01:03:00

hi! is there a test output diff-ing feature in the works for CIDER? since pjstadig/humane-test-output no longer works

ccann01:03:30

expected vs actual doesn’t help much when I have complex maps being compared

vaedasynapse21:03:01

I'm trying to get set up using cider for both clj and cljs development on an om-project that was shared with me https://github.com/thos37/om-tutorial . I was under the impression that doing cider-clojurescript-jack-in would give me two buffers for both clj and cljs repls. But whenever I do it it always just gives me a single one with just a clj buffer. From there I can run the (start-repl) and get to a browser connected cljs repl that works, but whenever I try to get one for each I get a stack trace saying that the address is already in use. I have my cider-boot-parameter as 'dev' and I have my cider-cljs-boot-repl set to weasel. I've banged my head on this too long so I thought I'd throw it out there and see if I could get some help so I can have both repl buffers set up and get back to learning a cider workflow in a cider, boot & om project. Any help or pointers would be greatly appreciated.

dpsutton21:03:30

@vaedasynapse are you sure that you are performing cider-jack-in-clojurescript? I've always seen it give two repls

vaedasynapse22:03:14

Just ran it again to be sure.

vaedasynapse22:03:22

Still just the one.

xiongtx22:03:55

Check your buffers list

xiongtx22:03:17

Is there a cljs REPL buffer?

dpsutton22:03:56

there's the one but not the cljs buffer which was the original complaint

dpsutton22:03:33

@vaedasynapse you didn't follow the brave clojure setup by any chance did you?

vaedasynapse22:03:18

Yes. I did. Is that the source of self-sabotage?

vaedasynapse22:03:46

I guess I should clarify. I tried grabbing many of the packages from the brave clojure set up via my nix emacs config file and then pulled in the additional config from that setup.

vaedasynapse22:03:17

But I think the end effect is likely the same, or very close.

xiongtx22:03:46

@U0G75ARHC You know anything about this?

vaedasynapse22:03:39

I haven't gone all the way through the book, however. I was more using it for a reference to get myself closer to having a working cider/emacs dev environment

dpsutton22:03:54

did you clone the repo that they use?

dpsutton22:03:21

which has a compiled version of cider 0.8.2 (from 2014) and tells you to use a lein profiles file?

dpsutton22:03:51

that old version of cider may predate cljs support for all i know

dpsutton22:03:29

but delete the lein profiles file (or at least remove the hardcoded dependency on 0.8.2) and then delete the cider folders from your ~/.emacs.d/elpa directory

dpsutton22:03:35

hopefully reinstalling makes it work

vaedasynapse23:03:04

Thanks. Will try.

vaedasynapse00:03:15

I don't think that was it. I didn't out and out clone their repo, just grabbed some of it. Additionally when I query my cider version it's coming up as "CIDER 0.15.0snapshot" and I have non cider folders in the elpa directory.

vaedasynapse00:03:09

I tried commenting out the cider specific code I found in the brave clojure emacs configuration files. But that hasn't had any effect.