hashrocket / boot_devcards_example

Example of using devcards with boot
10 stars 1 forks source link

Views don't live update #1

Open yanivtal opened 8 years ago

yanivtal commented 8 years ago

Hey, when I update the devcards file it updates alright but not if I update the Om view. I see a message in the console that says "Reload" but the view isn't rerendered. Any idea what we'd need to do to get the devcard to rerender the changed view on save?

yanivtal commented 8 years ago

I see we're re-evaluating the core main method on reload. That method checks to see if the app node is in the DOM - which it's not because the app node is only included in the app, not in devcards.

Potentially related, do you know how to jack in to the repl with CIDER?