devcards

Devcards aims to provide a visual REPL experience for ClojureScript https://github.com/bhauman/devcards
tony.kay 2016-10-25T16:09:35.000134Z

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-mahood 2016-10-25T16:13:30.000135Z

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

tony.kay 2016-10-25T16:13:56.000136Z

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

tony.kay 2016-10-25T16:14:17.000137Z

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

shaun-mahood 2016-10-25T16:14:47.000138Z

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

tony.kay 2016-10-25T16:14:57.000139Z

thanks. I'm sure that's it

tony.kay 2016-10-25T16:16:48.000140Z

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.kay 2016-10-25T16:17:29.000142Z

Yeah, that did it

tony.kay 2016-10-25T16:17:31.000143Z

whew!

shaun-mahood 2016-10-25T16:17:53.000144Z

Awesome!