anchor.diff:          _logger.warning('Invalidating asset graph due to build script update!');
           var deletedSourceOutputs = await _cleanupOldOutputs(assetGraph);
   
  -        if (_runningFromSnapshot()) {
  +        if (_runningFromSnapshot) {
             // We have to be regenerated if running from a snapshot.
             throw BuildScriptChangedException();
           }
  
positive.code:             _cleanupOldOutputs(cachedGraph),
              FailureReporter.cleanErrorCache(),
            ]);
            if (_runningFromSnapshot()) {
              throw BuildScriptChangedException();
            }
          }
  
negative.code:   }
  }
  
  bool get _runningFromSnapshot => !Platform.script.path.endsWith('.dart');
  