Skip to content

Migrate to an embedder API that exposes hot restart as two phases (begin and end) #187452

Description

@nshahan

We are going to expose the two phases of the hot restart operations in the embedder. This will make it easier to support the variety of integrations we have. When using DDC library bundles we need to migrate to calls of:

  • dartDevEmbedder.hotRestartBegin()
  • dartDevEmbedder.hotRestartEnd()

This also requires updating the $dartReloadModifiedModules method to return accept an array of the files to be reloaded and return an array of the files that were reloaded.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions