Fork me on GitHub
#shadow-cljs
<
2017-11-19
>
jgdavey01:11:13

@thheller Made a proof-of-concept boot task for the “release” phase: https://github.com/jgdavey/boot-shadow-cljs

jgdavey01:11:35

I left caching dir to default, and boot doesn’t touch it. It also works if your project doesn’t use clojure 1.9

thheller06:11:41

@jgdavey neat. I added api/get-build-config recently so you don’t need to import the config namespace.

thheller06:11:07

boot usually does weird stuff to the classpath though

thheller06:11:14

do incremental builds work?

cmal08:11:47

@thheller thanks for 2.0.89

thheller14:11:19

if someone here likes building visualizations I could use some help with this: https://clojureverse.org/t/help-wanted-release-bundle-size-visualization/871

Jon16:11:10

(defn not-found
  ([req]
    (not-found "Not found."))
  ([req msg]
   {:status 404
    :headers {"content-type" "text/plain"}
    :body msg}))

Jon16:11:20

shadow-cljs - starting ...
shadow-cljs - HTTP server for ":app" available at 
shadow-cljs - watching build :app
[:app] Configuring build.
[:app] Compiling ...
[:app] Build completed. (155 files, 54 compiled, 0 warnings, 19.67s)
[2017-11-20 00:18:33 - SEVERE] error in HTTP handler
java.lang.StackOverflowError
	at shadow.cljs.devtools.server.web.common$not_found.invokeStatic(common.clj:9)
	at shadow.cljs.devtools.server.web.common$not_found.invoke(common.clj:7)
	at shadow.cljs.devtools.server.web.common$not_found.invokeStatic(common.clj:9)
	at shadow.cljs.devtools.server.web.common$not_found.invoke(common.clj:7)
	at shadow.cljs.devtools.server.web.common$not_found.invokeStatic(common.clj:9)
	at shadow.cljs.devtools.server.web.common$not_found.invoke(common.clj:7)
	at shadow.cljs.devtools.server.web.common$not_found.invokeStatic(common.clj:9)

Jon16:11:31

probably a bug

thheller16:11:51

oh hehe. I forgot that I need to bundle the .js for the ui now …

thheller16:11:02

doesn’t do anything yet but still the 404 shouldn’t happen

Jon16:11:05

didn't heard about UI?

Jon16:11:09

what's that

thheller16:11:36

well, what is going to be the UI. http://localhost:8080

thheller16:11:56

does not do anything yet.

thheller20:11:36

2.0.93 fixes the stackoverflow error above