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.
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.