Skip to content

Ensure that compilation errors don't update last compiled time #41399

@jonahwilliams

Description

@jonahwilliams

The effect of this is that the first hot reload/restart will fail with a compilation errors, but subsequent errors are not caught because we see no files have updated and re-use the old dill file. To fix this, we can avoid updating the last compiled time when the reload fails, so that subsequent errors surface the same error.

cc @HansMuller

Metadata

Metadata

Assignees

Labels

toolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions