This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-07
Channels
- # beginners (142)
- # boot (18)
- # cider (39)
- # cljs-dev (2)
- # cljsrn (11)
- # clojars (8)
- # clojure (51)
- # clojure-brasil (3)
- # clojure-italy (22)
- # clojure-losangeles (2)
- # clojure-nl (20)
- # clojure-nlp (2)
- # clojure-russia (4)
- # clojure-serbia (2)
- # clojure-spec (90)
- # clojure-uk (147)
- # clojurescript (116)
- # data-science (10)
- # datomic (189)
- # devcards (31)
- # duct (6)
- # emacs (12)
- # fulcro (16)
- # graphql (36)
- # juxt (1)
- # off-topic (5)
- # om (11)
- # overtone (2)
- # pedestal (4)
- # perun (1)
- # portkey (17)
- # reagent (6)
- # reitit (3)
- # shadow-cljs (57)
- # spacemacs (45)
- # specter (8)
- # tools-deps (46)
@bhauman done, not getting better.
Just for feeback, I hardcoded devcards.util.utils/devcards-active?
to return true
, it does the trick. I'm gonna give a try to a patch when I can (prolly week-end lol). Briefly, where and how did you intend to set the devcards flag? xxx.cljs.edn or figwheel-main.edn?
---
Bingo. Flag set in xxx.cljs.edn
, et voila:
{:main de2e.core
:figwheel {:devcards true}}
LOL pushed to https://gitlab.com/fdserr/de2e.clj The flag does effect the cards showing or not. FW rebuilds on restart it seems.
Look, I'm gonna put an issue on fw.main repo with the workaround. If/when you have time, explain the intent and I'll see for a patch okay?
suppose it'd work as well. but in the lein template you've always set :figwheel { :devcards true} ;; <- note this
, that's for a fw+devcards build. I set plain :devcards true
when I want a build with cards but no figwheel (production cards, sort of)
if you are using figwheel.main with CLI :devcards true is the only thing that should work
dang all these issues, it was a bad idea try and make devcards dissappear from the source code
lol, chill, you're doing awesome, devcards rarely don't work for us, on the contrary 😃 now clj/cljs.main are big changes, and fw.main must be tough job. but worth, I see a great improvement on compile times and startup.