Skip to content

Update docs for hot reload on the web #12216

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

nshahan
Copy link

@nshahan nshahan commented Jul 18, 2025

* To be published with the release of 3.35.0.
* The feature is now enabled by default on the web.
* Updates "how to enable" instructions into "how to disable".
@nshahan nshahan requested review from sfshaza2, antfitch, parlough and a team as code owners July 18, 2025 20:11
@nshahan nshahan marked this pull request as draft July 18, 2025 20:12
@flutter-website-bot
Copy link
Collaborator

flutter-website-bot commented Jul 18, 2025

Visit the preview URL for this PR (updated for commit 49da154):

https://flutter-docs-prod--pr12216-hot-reload-web-docs-nvga8c8x.web.app

Copy link
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple minor tweaks. Thanks!

without refreshing the web page,
doesn't require a flag.
As of the Flutter 3.35 release, hot reload is enabled
on the web by default for the chrome device.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
on the web by default for the chrome device.
on the web by default for the Chrome device.

doesn't require a flag.
As of the Flutter 3.35 release, hot reload is enabled
on the web by default for the chrome device.
[Hot restart][] is still available is still available as well.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[Hot restart][] is still available is still available as well.
[Hot restart][] is still available as well.

@@ -76,25 +76,26 @@ The code updates and execution continues.
**What is the difference between hot reload, hot restart,
and full restart?**

* **Hot reload** loads code changes into the VM and re-builds
the widget tree, preserving the app state;
* **Hot reload** loads code changes into the VM or Chrome,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's say "or browser" here and below. Even though the web-server changes didn't make it into this release it'll be easier to just update this once. I don't think anyone will be misled in the interim.

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

Successfully merging this pull request may close these issues.

4 participants