anchor.diff:      logger.flush();
     }
   
  -  void _scanFile(String devicePath, File file) {
  +  void _scanFile(String devicePath, FileSystemEntity file) {
       DevFSEntry entry = _entries[devicePath];
       if (entry == null) {
         // New file.
  
positive.code:   final AssetBundleEntry bundleEntry;
    String get assetPath => bundleEntry.archivePath;
  
    final File file;
    FileStat _fileStat;
    // When we scanned for files, did this still exist?
    bool _exists = false;
  
negative.code:     if (_isSourceEntry)
        return;
      _fileStat = file.statSync();
      if (_fileStat.type == FileSystemEntityType.LINK) {
        // Stat the link target.
        String resolved = file.resolveSymbolicLinksSync();
        _fileStat = FileStat.statSync(resolved);
      }
    }
  
    bool get _isSourceEntry => file == null;
  
    bool get _isAssetEntry => bundleEntry != null;
  
    File _getFile() {
      if (file is Link) {
        // The link target.
        return new File(file.resolveSymbolicLinksSync());
      }
      return file;
    }
  
    Future<List<int>> contentsAsBytes() async {
      if (_isSourceEntry)
        return bundleEntry.contentsAsBytes();
      final File file = _getFile();
      return file.readAsBytes();
    }
  
  