lein-figwheel

2016-10-24T12:23:36.000093Z

Is there any way to add :init or :ring-init into :figwheel-options (using the figwheel scss script)?

danielcompton 2016-10-24T21:38:33.000094Z

Is there any interest in a PR to figwheel for an option with-reload which would wrap the figwheel reload in a function so dynamic bindings (or other things) can be set?

danielcompton 2016-10-24T21:40:51.000095Z

It could subsume :on-jsload, :before-jsload, e.g.

(defn my-with-reload-fn [reload-fn]
  (do (stuff before reload)
      (reload-fn)
      (stuff after reload)))

danielcompton 2016-10-24T21:42:00.000096Z

so the default with-reload function would call the on-jsload and before-jsload, but users could replace it with a single with-jsload function that would handle both

danielcompton 2016-10-24T21:47:12.000097Z

https://github.com/bhauman/lein-figwheel/issues/485