Skip to content

packages/flutter_tools/test/integration.shard/isolated/dart_data_asset_test.dart Windows DevFS weirdness #184505

Description

@dcharkes

I saw weird behavior on Windows on #184209

DevFS doesn't pick up the writes to the Dart files, not even with flushing or sleeps: Compiling dart to kernel with 0 updated files

This leads to a state where the Dart variable contents don't get updated while the data assets do. This integration test is not really about Dart hot restart, so I've skipped those checks on Windows.

This reproduces locally in the integration test, but not when running the app and editing the file.

Also I can reproduce it before that PR if I change $version to version in the helper.dart file. This reduces the structural change of the Dart code, e.g. no new global field. But hot restart should reinstate the new value of the global field, and that's not happening either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectplatform-windowsBuilding on or for Windows specificallyteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions