Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Hot restart with Chrome and --web-experimental-hot-reload results in files with gen=N suffixes #166294

Closed
@srujzs

Description

@srujzs

If you run an app with flutter run -d chrome --web-experimental-hot-reload, change a file, and then do a hot restart, you'll see that file's JS code file being loaded with a gen=1 suffix. You'll also see the old file in the sources tab.

This is confusing to users and doesn't actually do anything. It was intended to help with cache-busting, but that was for a multi-app scenario that Flutter tools does not come across.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions