Skip to content

Devcards not reloading when using code splitting #167

@rpofuk

Description

@rpofuk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions