How do I merge in a new server-port to the “default” config (`(figwheel-sidecar.config/fetch-config)`)?
I’ve tried
(merge (figwheel-sidecar.config/fetch-config) {:figwheel-options {:server-port 3450}})
but the new port isn’t recognized
Ah … I needed to wrap it in a :data
map, ie
(merge (figwheel-sidecar.config/fetch-config) {:data {:figwheel-options {:server-port 3450}}})
All hail to the data that is identified by :data
😉
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 slurp
ing the project.clj
and then parsing :build-ids
and :all-builds
. Unless I’m missing something