lein-figwheel

grav 2016-11-16T14:08:59.000146Z

How do I merge in a new server-port to the “default” config (`(figwheel-sidecar.config/fetch-config)`)?

grav 2016-11-16T14:09:21.000147Z

I’ve tried (merge (figwheel-sidecar.config/fetch-config) {:figwheel-options {:server-port 3450}}) but the new port isn’t recognized

grav 2016-11-16T14:10:47.000148Z

Ah … I needed to wrap it in a :data map, ie (merge (figwheel-sidecar.config/fetch-config) {:data {:figwheel-options {:server-port 3450}}})

grav 2016-11-16T14:11:11.000149Z

All hail to the data that is identified by :data 😉

grav 2016-11-16T14:43:58.000150Z

Hmm … seems it doesn’t really work. It’s not getting :build-ids and :all-builds. There’s missing an easy way to just specify additional params. Currently it’s something like slurping the project.clj and then parsing :build-ids and :all-builds. Unless I’m missing something