Chromium Code Reviews
DescriptionRerun "pub list" when pubspec.lock changes.
(Note: we don't actually hardcode the dependency on pubspec.lock--we
use the "input_files" field of the output from "pub list" which tells
us the dependency).
This required some refactoring: ContextDirectory has been eliminated
and its responsibilities (creating the analysis context, UriResolvers,
and SourceFactory) have been shifted to ContextDirectoryManager and
AnalysisServerContextDirectoryManager. Accordingly,
AnalysisServer.folderMap now maps directly from folder to
AnalysisContext.
Note: we don't yet properly handle the case where one of the
dependencies output by "pub list" is outside of the context folder.
R=brianwilkerson@google.com
Committed: https://code.google.com/p/dart/source/detail?r=37826
Patch Set 1 #
Total comments: 4
Messages
Total messages: 4 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||