Package dependency scripts are re-compiled on every run #50617
Labels
area-dart-cli
Use area-dart-cli for issues related to the 'dart' command like tool.
P1
A high priority bug; for example, a single project is unusable or has many test failures
I have a hunch this is related to the fact that
dart run
now runs apub get
on every single call.To repro, on the latest dev (2.19.0-440.0.dev, not sure about older versions), just run
dart test
in any project that depends onpackage:test
. You will see output like this each time:But it should only be rebuilding when the dependency is modified (package deps change).
I am marking this as a P1 because it causes a very significant downgrade to the experience of using package:test or any other command line tool - the compile step takes many seconds.
cc @jonasfj @sigurdm @mit-mit
The text was updated successfully, but these errors were encountered: