Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devcards not reloading when using code splitting #167

Open
rpofuk opened this issue Jun 5, 2020 · 0 comments
Open

Devcards not reloading when using code splitting #167

rpofuk opened this issue Jun 5, 2020 · 0 comments

Comments

@rpofuk
Copy link

rpofuk commented Jun 5, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant