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.
I saw weird behavior on Windows on #184209
DevFSdoesn't pick up the writes to the Dart files, not even with flushing or sleeps:Compiling dart to kernel with 0 updated filesThis 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
$versiontoversionin thehelper.dartfile. 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.