Fork me on GitHub
#boot
<
2017-05-28
>
bhagany05:05:39

@alandipert (trusting in slack's snooze here) - I have a fix for #547 ready for review at #613

alandipert15:05:11

@bhagany awesome, i’ll try it out. it does need some CHANGES.md action tho, if you’re up for doing that too

bhagany15:05:38

@alandipert I also didn't remove read-string-all, because I wasn't sure if it was considered part of the public api - what do you think?

bhagany16:05:19

Also, this is a relatively simple, backwards-compatible improvement that would really help me out, if we're ramping up for a release 🙂 : https://github.com/boot-clj/boot/pull/566/files

pedroteixeira21:05:20

does any know of an example with boot + figwheel + pedestal? trying to understand behaviour of boot-figwheel (not sure if it should or not copy resources to target)

nikki21:05:29

there's also boot-figreload

pedroteixeira21:05:44

ok, thanks - will test if if works with a clj repl (for fullstack dev). I was trying something along

(comp
           (figwheel :build-ids ["dev" "cards"])
           (repl :server true :init-ns 'user :port 9010)
           (wait)) 

nikki21:05:03

i'm approximately literally starting with boot for the first time so won't be able to help much 😅

nikki21:05:07

have been using leiningen so far

nikki21:05:11

working through modern-cljs tutorial

pedroteixeira21:05:07

same here, good luck for us 🙂

nikki21:05:06

I'm using :dependencies '[[adzerk/boot-cljs "1.7.228-2"]]) as in the tut

nikki21:05:17

and getting

nikki21:05:20

clojure.lang.Compiler$CompilerException: clojure.lang.ExceptionInfo: Call to clojure.core/ns did not conform to spec:
                                         In: [1] val: ((require [clojure.string :as string] [cljs.source-map.base64 :as base64])) fails at: [:args] predicate: (cat :docstring (? string?) :attr-map (? map?) :clauses :clojure.core.specs.alpha/ns-clauses),  Extra input

nikki21:05:22

have you seen this before

nikki21:05:47

i tried changing that to "2.0.0" in the :dependencies but still same error (it doesn't seem to download a new version of boot-cljs when I run boot cljs again after doing that)

nikki21:05:45

why isn't the version in the tutorial working? just curious

nikki21:05:44

kk,

[nikki modern-cljs]$ cat boot.properties <(echo -e '\n\n--\n') build.boot
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.9.0-alpha17
BOOT_VERSION=2.7.1

--

(set-env!
 :source-paths #{"src/cljs"}
 :resource-paths #{"html"}

 :dependencies '[[org.clojure/clojure "1.9.0-alpha17"]
                 [org.clojure/clojurescript"1.9.562"]
                 [adzerk/boot-cljs "2.0.0"]])

(require '[adzerk.boot-cljs :refer [cljs]])
this worked

nikki21:05:11

@pedroteixeira in case you were curious ^ i think this is latest everything

pedroteixeira21:05:03

thnks, but I ended up sticking with [org.clojure/clojure "1.9.0-alpha16"] e [org.clojure/clojurescript "1.9.542"] for now, because when I tried upgrading, it seems some pieces didn't go along. will try again throught the week (might probably downgrade to stable clojure, some libs will break because of the spec- > spec.alpha)

nikki23:05:19

getting spurious warnings with boot-cljs-repl

nikki23:05:38

clearly reconciler is actually in-scope but it thinks it isn't :thinking_face:

nikki23:05:24

it seems what's happening is that the initial load of namespaces is happening in a way that makes the repl think stuff is undefined

nikki23:05:31

but if i load the file again in the repl it's fine...