Konstantin Scheglov
Konstantin Scheglov
@pq is this a lint?
The way it supposed to work is that when a file that affects analysis environment (URI resolution, packages, etc - anything except just dart files) [changes](https://github.com/dart-lang/sdk/blob/d2682070f4548f9ef40a9a7a424525b075f12dd2/pkg/analysis_server/lib/src/context_manager.dart#L561), we nuke the analysis...
Well, it should be easy to check - log `package:watcher` notifications, and log when we see a `pubspec.yaml` file change, and when we nuke the analysis context collection. As far...
OK, I think we do have a caching issue. With this lint the set of errors depends on the content of the `pubspec.yaml` file. But its content is not a...
https://dart-review.googlesource.com/c/sdk/+/202265
Yes, I think so. Worth testing with the latest analyzer, but as far as I know, this is fixed.
Works for me, I tested it in Dart SDK repo, by commenting out and restoring `path` and `pub_semver` dependencies in `analyzer_cli` package. Make sure that: 1. You use the build...
Hm... I can reproduce it, sometimes. My best theory for now is that it is a race condition between reading the file content following changes. The fact that we may...
https://dart-review.googlesource.com/c/sdk/+/202726 should make results consistent. But I think that we still have an issue here - I still can see that we don't react to some changes to `pubspec.yaml` files,...
I tried to start watching the included folders on the file system before starting to build analysis context, but I just don't get any events from `package:watcher`. My current suspicion...