Fork me on GitHub
#duct
<
2018-01-06
>
myguidingstar10:01:48

@weavejester I'm trying to add {:devcards true} to figwheel's build options

myguidingstar10:01:15

(defmethod ig/init-key ::devcards [_ env]
  {:req #{:duct.module/cljs :duct.server/figwheel}
   :fn   #(assoc-in % [:duct.server/figwheel :builds 0 :build-options :devcards] true)})

myguidingstar10:01:22

and I had the above module activated in config.edn

myguidingstar10:01:13

but config doesn't change. What's wrong with the above?

weavejester13:01:06

@myguidingstar do you derive ::devcards from :duct/module?

myguidingstar13:01:39

I was lazy to I put it in the same ns with my http request handler

myguidingstar13:01:18

oh it works now

myguidingstar13:01:31

after deriving

myguidingstar13:01:38

learned a lesson 🙂