bhauman / devcards

Devcards aims to provide a visual REPL experience for ClojureScript
1.53k stars 116 forks source link

Devcards not reloading when using code splitting #167

Open rpofuk opened 4 years ago

rpofuk commented 4 years ago

Dear all,

I have problem when using code splitting and reach Suspense to lazy loading. I created demo project https://github.com/rpofuk/sample-split-demo.

When I start in parallel: shadow-cljs watch app shadow-cljs watch devcards

And open in browser both: http://127.0.0.1:8000/# http://127.0.0.1:3001/#!/demo.sample

Then I make change in demo.components.product-listing

Change on :app is reloaded but in :devcards it is not.

Additionally, if I change part of code that is not lazily loaded then it refreshes. It is only about code that is inside Suspense that is not reloaded.