Fork me on GitHub
#devcards
<
2016-10-25
>
tony.kay16:10:35

Am I right that CSS hot reload in devcards is not supported? It works fine for me in normal figwheel, but figwheel + devcards seems a no go

shaun-mahood16:10:30

@tony.kay: Works for me with a new project from lein new devcards

tony.kay16:10:56

Hm. I'm using sidecar. Maybe it isn't getting the config right from the project file

tony.kay16:10:17

I'll hack the option in manually and see if that works

shaun-mahood16:10:47

Hope you can get it working, it's terrible to have to work without it

tony.kay16:10:57

thanks. I'm sure that's it

tony.kay16:10:48

looks like with sidecar you have to add it in this way:

(reset! figwheel (component/system-map
                        :css-watcher (fig/css-watcher {:watch-paths ["resources/public/css"]})
                        :figwheel-system (fig/figwheel-system preferred-config)))
 

tony.kay16:10:29

Yeah, that did it