Fork me on GitHub

@bhauman: I am having a strange issue with figwheel. I am using highlight.js to show some clojure code and I have to use a function called hljs.initHighlighting() to get all the syntax highlighting to work. It seems to work when the browser first loads, but then on subsequent changes when fighweel reloads the page the highlighting disappears. Is there anything I can do to remedy this? Can I hook into the refresh event and recall the function somehow?


In your example online you show this piece of code

;; put client config options in :figwheel
              :figwheel { :websocket-host "localhost" 
                          :on-jsload "example.core/fig-reload”}


but I am using the approach that om next demonstrates where I pass a config into ra/start-figwheel!. Can I do something similar there?