dart-lang/sdk

Analyser not picking up changes after BuiltValue generation WebStorm/MacOSx

rayk opened this issue · 2 comments

rayk commented

This issue started life in BuiltValue, making it was here because its beginning to seem a lot more analyser related. @davidmorgan

Formalities
VM
Dart VM version: 2.0.0 (Fri Aug 3 10:53:23 2018 +0200) on "macos_x64"

IDE
WebStorm 2018.2.3 EAP Build #WS-182.4323.31, built on August 30, 2018 JRE: 1.8.0_152-release-1248-b8 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.13.6

  • Checked Stackoverflow
  • Search Previously filled issues.
  • Observable and repeatable symptoms.

Summary

After making changes to a BuiltValue abstract and successfully generating the implementation, Webstrom is unable to detect the generated file, causing the disliked red squiggly line to appear. By manually restarting the analyzer from with the IDE all is made good with the world.

The initial diagnostic and Q&A is here, would appreciate any help. This issue is not a show stopper, yet does interrupt the development flow.

We're also seeing this issue with over_react. It would be great to not have to restart the analysis server after every build.

@bwilkerson any updates on this?