This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-05
Channels
- # aleph (190)
- # bangalore-clj (4)
- # beginners (31)
- # boot (127)
- # braid-chat (2)
- # cider (2)
- # cljs-dev (79)
- # cljsrn (7)
- # clojure (81)
- # clojure-dev (1)
- # clojure-greece (40)
- # clojure-italy (3)
- # clojure-korea (8)
- # clojure-new-zealand (5)
- # clojure-russia (5)
- # clojure-spec (87)
- # clojure-uk (13)
- # clojurescript (50)
- # cloverage (10)
- # component (4)
- # core-async (37)
- # cursive (26)
- # datascript (20)
- # datomic (29)
- # editors (2)
- # emacs (12)
- # hoplon (63)
- # jobs (2)
- # lein-figwheel (1)
- # leiningen (17)
- # liberator (2)
- # off-topic (19)
- # om (31)
- # onyx (9)
- # pedestal (4)
- # proton (1)
- # re-frame (22)
- # reagent (13)
- # ring (1)
- # ring-swagger (9)
- # spacemacs (5)
- # specter (4)
- # untangled (24)
- # vim (29)
anybody got experience using boot with fireplace and how about figwheel ?
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.
Nice, do you have a sample build.boot with you preferred setup ?
@zamaterian 😄 https://github.com/juxt/edge - I'm completely and utterly biased
I've also used @juhoteperi's saapas to great effect
https://github.com/adzerk-oss/boot-cljs-repl#vim-fireplace other than this I guess
I’ve been trying to get this working as well, in step 1 you mention :Console
, what is that exactly?
I guess you meant :Connect
?
@markwoodhall might be a custom command for launching a repl too. I have one named :Lein
, but most likely meant to be the :Connect
So... tl;dr
1) lein repl
2) :Connect
3) :Eval (do (use 'figwheel-sidecar.repl-api) (start-figwheel!))
4) :Piggieback (repl-env)
Ok. I’m sure that’s what I tried yesterday, I’ll try it again afterwards. Thanks!
Thanks!
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)^@‘}`
Did wonder if I wasn’t in the current ns or something.
I think you have to run :Connect
and :Eval (do...
from a clj
buffer, then the :Piggieback
from a cljs
buffer
I've added some helpful commands to my vimrc
to help with this: https://github.com/nwjsmith/dotfiles/blob/8894e6010eda7380654ee9f76db8229b6e96e68d/vimrc#L137-L145
Yeah, that was it. @nwjsmith
Thanks
Thanks @dominicm, this is awesome!