Skip to content

Engine does not switch to devfs for loading fonts during hot reload/restart #49230

@jonahwilliams

Description

@jonahwilliams

Currently when hot reloading, applications can correctly load new assets in the application. Fonts are also copied to the devfs by the same logic, but adding a font does not allow it to be used until the entire application is restarted.

When running an application and adding a font, neither hot reloading nor hot restarting allows it to be used.

When running application and removing it a font, it can still be used after hot reload or hot restart.

My guess is that the fonts are being read only from the original application bundle and not the updated devfs directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: first hourThe first hour of using Flutterengineflutter/engine related. See also e: labels.from: studyReported in a UX studyt: hot reloadReloading code during "flutter run"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions