Skip to content

[dwds] Use new hot restart API from embedder#2827

Draft
nshahan wants to merge 1 commit intomainfrom
new-restart-logic
Draft

[dwds] Use new hot restart API from embedder#2827
nshahan wants to merge 1 commit intomainfrom
new-restart-logic

Conversation

@nshahan
Copy link
Copy Markdown
Contributor

@nshahan nshahan commented Apr 28, 2026

Start using the new hotRestartBegin and hotRestartEnd APIs from the embedder.

These require the library bundle module system and allow for more customization in the integration of the hot restart operation.

Specifically this allows for $dartReloadModifiedModules to decide which of the files provided from reloadedSources.json should actually be requested at this time and return the list of the actual requests so the restart logic in dwds knows what scripts it should await parse events for.

Issue: #2826

Start using the new `hotRestartBegin` and `hotRestartEnd` APIs from
the embedder.

These require the library bundle module system and allow for more
customization in the integration of the hot restart operation.

Specifically this allows for `$dartReloadModifiedModules` to decide
which of the files provided from reloadedSources.json should actually
be requested at this time and return the list of the actual requests so
the restart logic in dwds knows what scripts it should await parse
events for.

Issue: #2826
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant