Skip to content

Block hot reloads on pending deferred loading requests #60842

Open
@biggs0125

Description

@biggs0125

Deferred loads and hot reloads are two mechanisms that can add new libraries into a running application. While a deferred load cannot start during a hot reload, a hot reload can start during a deferred load. This can be problematic if both mechanisms end up loading two different versions of the same library.

Rather than dealing with resolving the multiple versions and risking loading the wrong one, it will be simpler to just avoid the problem in the first place. We should block any hot reloads from starting until any active deferred loads have completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-dev-compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions