This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-14
Channels
- # aleph (10)
- # announcements (2)
- # beginners (228)
- # calva (18)
- # cider (6)
- # clara (5)
- # cljdoc (25)
- # cljs-dev (22)
- # clojure (78)
- # clojure-dev (30)
- # clojure-europe (2)
- # clojure-finland (1)
- # clojure-italy (32)
- # clojure-nl (21)
- # clojure-uk (126)
- # clojurescript (34)
- # cursive (5)
- # data-science (2)
- # datascript (2)
- # datomic (26)
- # defnpodcast (1)
- # emacs (5)
- # figwheel (5)
- # figwheel-main (3)
- # fulcro (14)
- # graphql (5)
- # jobs (1)
- # keechma (4)
- # nrepl (5)
- # off-topic (35)
- # onyx (3)
- # pedestal (12)
- # random (1)
- # re-frame (35)
- # reagent (8)
- # reitit (20)
- # remote-jobs (5)
- # ring-swagger (20)
- # shadow-cljs (166)
- # sql (43)
- # vim (6)
- # yada (15)
I have a couple of small apps in a project I'm building with figwheel.main. Is there a way to confine builds to only the code that's used in the current app. It seems to be building stuff that's outside of my :main
module too.
For example, I have src/app1/core.cljs
+ app1.cljs.edn
and src/app2/core.cljs
+ app2.cljs.edn
So I added a deliberate syntax error in app2 to see if I could figure this out. These build with no error:
clojure --main figwheel.main --optimizations advanced --build app1 --serve
clojure --main figwheel.main --optimizations advanced --build-once app1
clojure --main figwheel.main --optimizations none --build-once app1
But this fails on my syntax error in app2:
clojure --main figwheel.main --optimizations none --build app1 --serve