Skip to content

Enable "hot reload" (not just "hot restart") for Flutter Web #53041

@jakobwgnr

Description

@jakobwgnr

Latest update: #53041 (comment)


Hello!
Trying the web development currently in beta version. actually quite satisfied as the browser reloads very quick. Only annoying thing is that the hot restart doesn't work properly, imho.
Please check on this.
Best Regards,
Jakob
P.S.: Hope this is enough information - First time opening an issue here :)

Steps to Reproduce

  1. Setup flutter project for web development
  2. Run flutter run -d Chrome
  3. Navigate to a view != main view
  4. hot restart (small 'r') without browser refresh (like it should do with capital 'R')

Expected results:
Browser should reload, but stay on the same view

Actual results:
Browser fully restarts the app --> Again at the main view

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: debuggingDebugging, breakpoints, expression evaluationc: new featureNothing broken; request for a new capabilityc: parityWorks on one platform but not anotherc: proposalA detailed proposal for a change to Fluttercustomer: chillicustomer: crowdAffects or could affect many people, though not necessarily a specific customer.dependency: dartDart team may need to help usplatform-webWeb applications specificallyt: hot reloadReloading code during "flutter run"team-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions