Fork me on GitHub
#vim
<
2016-10-05
>
zamaterian06:10:16

anybody got experience using boot with fireplace and how about figwheel ?

dominicm07:10:17

Yes. Both. Works brilliantly.

dominicm07:10:42

If you use latest figwheel, fireplace works perfectly

dominicm07:10:52

I think that's 0.5.8

dominicm07:10:45

I use boot a lot. As much as possible. It works perfectly. And boot cljs has had fireplace support for as long as I've used it.

zamaterian07:10:49

Nice, do you have a sample build.boot with you preferred setup ?

dominicm08:10:16

@zamaterian 😄 https://github.com/juxt/edge - I'm completely and utterly biased

dominicm08:10:31

I've also used @juhoteperi's saapas to great effect

dominicm08:10:47

Boot doesn't really need anything special to work.

markwoodhall10:10:11

I’ve been trying to get this working as well, in step 1 you mention :Console, what is that exactly?

markwoodhall10:10:08

I guess you meant :Connect?

dominicm11:10:47

@markwoodhall might be a custom command for launching a repl too. I have one named :Lein, but most likely meant to be the :Connect

dominicm11:10:54

So... tl;dr 1) lein repl 2) :Connect 3) :Eval (do (use 'figwheel-sidecar.repl-api) (start-figwheel!)) 4) :Piggieback (repl-env)

markwoodhall11:10:00

Ok. I’m sure that’s what I tried yesterday, I’ll try it again afterwards. Thanks!

dominicm11:10:10

0.5.8 is important too.

dominicm11:10:18

If you have issues, ping me. I'll hammock it and figure it out.

markwoodhall19:10:48

Almost there, it works fine if I do step 3 directly in the REPL but when I try sending it through using :Eval I get an error `{'status': ['eval-error', 'done'], 'ex': 'class clojure.lang.ExceptionInfo', 'root-ex': 'class clojure.lang.ExceptionInfo', 'id': 'fireplace-fisk-1475694638-36', 'session': ['abb4769e-e858-4da9-9fdc-f4898d91cfcf'], 'err': 'org.mozilla.jav ascript.EvaluatorException: Java class "[Ljava.lang.StackTraceElement;" has no public instance field or method named "cljs$lang$protocol_mask$partition0$". (rhino.clj#41)^@‘}`

markwoodhall19:10:29

Did wonder if I wasn’t in the current ns or something.

nwjsmith19:10:17

I think you have to run :Connect and :Eval (do... from a clj buffer, then the :Piggieback from a cljs buffer

nwjsmith19:10:23

It was all due to dominicm's help yesterday!

markwoodhall19:10:54

Thanks @dominicm, this is awesome!