This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-31
Channels
- # admin-announcements (4)
- # alda (3)
- # aws (1)
- # beginners (2)
- # boot (33)
- # braid-chat (4)
- # braveandtrue (20)
- # cider (52)
- # cljs-dev (13)
- # cljsrn (55)
- # clojure (111)
- # clojure-belgium (4)
- # clojure-brasil (6)
- # clojure-dusseldorf (1)
- # clojure-greece (116)
- # clojure-mexico (1)
- # clojure-nl (3)
- # clojure-russia (56)
- # clojure-spec (72)
- # clojure-uk (13)
- # clojurescript (66)
- # community-development (2)
- # component (24)
- # core-async (1)
- # cursive (19)
- # datomic (27)
- # devcards (5)
- # emacs (1)
- # funcool (34)
- # hoplon (313)
- # jobs (1)
- # lein-figwheel (11)
- # luminus (5)
- # mount (30)
- # off-topic (63)
- # om (375)
- # onyx (67)
- # perun (8)
- # proton (1)
- # reagent (4)
- # rum (1)
- # specter (55)
- # spirituality-ethics (7)
- # test-check (2)
- # untangled (34)
- # yada (20)
OK - finally got it to work! Interestingly running “lein figwheel” picked up some errors that “lein repl + other commands” did not (Such as a config option being in the wrong place in the Project.clj)
@jamesmintram: yep, the next release moves config validation down so that it works at a lower level
That’s awesome! Any advice around it not supporting profile merging? ie any tips in structuring your project.clj to get the benefits of splitting dev/prod config?
@jamesmintram: there is really no need to split out your :figwheel and :cljsbuild configs at all.
@bhauman: Ah OK thanks. That makes sense. It hadn’t occurred to me that the figwheel stuff would be ignored during a production build! I guess all the examples/templates I have seen keep the Figwheel stuff inside of a dev profile. Thanks 🙂
@jamesmintram: which templates? reagent-figwheel is correct. And I'm currently posting an issue on chestnut.
I think I used “lein new reagent” - I can check
Yeah - so
lein new reagent
sticks the :figwheel config inside of: profiles dev