Fork me on GitHub
#boot
<
2016-05-02
>
adamkowalski01:05:40

is there a example somewhere as to how to use boot + cljs + cider? I have a dev task running which works really well for me, it auto reloads everything and gives me a cljs-repl, however, it doesn’t play to nice with cider

adamkowalski01:05:07

I can connect to the nrepl session, and get autocompletion + eval support for clojure, but not for clojurescript

micha02:05:24

@adamkowalski which version of boot are you using?

micha03:05:23

there were some things added to 2.6.0-SNAPSHOT to improve cider support

adamkowalski03:05:05

im running boot v 2.5.5

adamkowalski03:05:36

ill try 2.6.0-SNAPSHOT and see how it goes, thanks for the tip!

adamkowalski03:05:43

@micha: that did the trick! this new update is amazing simple_smile

micha03:05:30

and thanks for using the snapshot, it's good to get some use before releasing a new version

adamkowalski03:05:48

I love how easy it is now to get a project going. its so declarative

(deftask dev
  "Development ClojureScript build"
  []
  (comp
   (watch)
   (reload)
   (cljs-repl)
   (cljs)
   (target :dir #{"target"})))
and boom your good to go

adamkowalski03:05:55

idk but getting leiningen + figwheel + cider to all work together took a lot more setup

micha03:05:56

yeah the composability of the tasks allows them to do more work configuring themselves

micha03:05:33

because they don't need to know anything about the other tasks to do their own jobs

micha03:05:24

when the tasks get tightly coupled like in leiningen then the user needs to specify a lot more things

micha03:05:37

to make sure they can work with each other

yenda12:05:25

I found out why I had a null pointer exception when running my program with boot run and didn't have it in the repl

yenda12:05:21

I was using resolve without providing the namespace which worked fine in the repl

yenda12:05:29

so it was unrelated to boot

therabidbanana23:05:31

I'm trying to work out what I'll need to do to pull off the equivalent of java-agents in leiningen. Anybody ever tried this (I'm doing it for New Relic tracing)?