Do less file system crawling when we have the Dart dependency set (#9424)
- [x] Skip scanning the file system if we already have the Dart dependency set. Fixes #9376 ``` Performing hot reload... Reloaded 1 of 418 libraries in 888ms. Performing hot reload... Reloaded 1 of 418 libraries in 871ms. ** UNTAR dragontail under project root ** Performing hot reload... Reloaded 0 of 418 libraries in 443ms. ** UNTAR dragontail under lib/ ** Performing hot reload... Reloaded 0 of 418 libraries in 385ms. ```
This commit is contained in:
@@ -184,7 +184,6 @@ void main() {
|
||||
.map((FileSystemEntity file) => fs.path.canonicalize(file.path))
|
||||
.toList());
|
||||
}
|
||||
|
||||
final int bytes = await devFS.update(fileFilter: fileFilter);
|
||||
devFSOperations.expectMessages(<String>[
|
||||
'writeFile test .packages',
|
||||
|
||||
Reference in New Issue
Block a user