This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-19
Channels
- # announcements (1)
- # architecture (24)
- # beginners (7)
- # boot (7)
- # cider (1)
- # cljdoc (4)
- # clojure (20)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-dev (1)
- # clojure-italy (1)
- # clojure-spec (36)
- # clojure-uk (11)
- # clojurescript (44)
- # data-science (3)
- # datascript (1)
- # datomic (8)
- # figwheel-main (2)
- # fulcro (29)
- # graphql (9)
- # kaocha (2)
- # keyboards (1)
- # leiningen (3)
- # lumo (5)
- # nrepl (4)
- # off-topic (39)
- # onyx (5)
- # re-frame (2)
- # shadow-cljs (42)
- # tools-deps (18)
- # yada (65)
Also, any idea whether having a long classpath would create issues? I'm doing lumo --classpath src:<very long classpath generated within Boot> build.cljs
, where build.cljs is:
(require 'lumo.build.api)
(lumo.build.api/watch "src-temp"
{:optimizations :none,
:output-to "out/main.js",
:output-dir "out",
:cache-analysis true,
:source-map true,
:verbose true,
:watch-fn (fn [] (println "Success in watching!"))})
and
(ns blah.temp)
#?(:cljs (enable-console-print!))
(println "Hello world!")
But I just get:
Building ...
till there's an out-of-memory error.
By contrast, when I only pass src
as the classpath:
Building ...
Options passed to ClojureScript compiler: <options>
Copying <files>
Compiling <files>
... done. Elapsed 0.44 seconds
Success in watching!
Looks like the issue is not in lumo.build.api/watch
but rather lumo.build.api/build
I will try to debug this at some point over the weekend but any pointers would be appreciated
Okay actually I just got it to compile once — Elapsed 401.48 seconds
though, and similar times on recompilation even when I only change that one tiny file (`blah.temp`), which doesn't really work for me haha. So yeah I will try to fix this
Just opened up https://github.com/anmonteiro/lumo/issues/458 — probably going to pause work on this pending a discussion there