devcards

Devcards aims to provide a visual REPL experience for ClojureScript https://github.com/bhauman/devcards
grav 2016-02-11T10:08:57.000029Z

@maio Just did a pull request with a fix: https://github.com/bhauman/devcards/pull/98

grav 2016-02-11T10:09:24.000031Z

Maybe you can comment if it’s the same problem you’re experiencing, and if the fix works for you?

maio 2016-02-11T12:32:07.000032Z

@grav: nice I'll try that. I think I remember trying to set :watch-atom myself but that didn't work either (at same place as setting :inspect-data true)

grav 2016-02-11T12:32:43.000033Z

No, unfortunately it’s done as (assoc opts :watch-atom false), so it’ll always overwrite whatever you supply

peeja 2016-02-11T20:42:18.000035Z

Okay, this is a long-shot, but I did something and now my devcards app is a blank page and I have no idea why. Is that by any chance a known issue with a known cause?

peeja 2016-02-11T20:42:31.000036Z

I don't get any console errors. All the JS appears to be loading.

peeja 2016-02-11T20:47:31.000037Z

Hmm, now I'm getting goog.require could not find: figwheel.connect. I'm probably doing something wacky.

anmonteiro 2016-02-11T20:47:54.000038Z

@peeja: probably an error being thrown in a macro

anmonteiro 2016-02-11T20:48:11.000039Z

(reset-autobuild) should show you the stack trace

peeja 2016-02-11T21:01:43.000041Z

…and now it's working. shrug :simple_smile:

meow 2016-02-11T21:21:00.000043Z

¯\(ツ)

2016-02-11T21:32:30.000044Z

how do I get a list of my “cards” going like at http://rigsomelight.com/devcards/#!/ I just have one the .core one...

peeja 2016-02-11T22:27:09.000045Z

@michaellopez: That first page should list every namespace that has at least one card in it

peeja 2016-02-11T22:27:23.000046Z

Maybe make sure the namespaces your cards are in are being required?

2016-02-11T22:51:26.000047Z

oh, i see, maybe like in this file… https://github.com/bhauman/devcards/blob/master/example_src/devdemos/start_ui.cljs