dart-lang / pub

The pub command line tool

Home Page:https://dart.dev/tools/pub/cmd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Indicate when downloading packages (as opposed to just "Resolving...")

Levi-Lesches opened this issue · comments

When downloading lots of packages, especially over an unreliable or non-existent Internet connection, dart pub get could hang (not fail) trying to download packages. When combined with dart compile or dart run, which implicitly run dart pub get, it's unclear what's taking so long -- analyzing, compiling, running, or getting packages. Logging a message like Downloading packages... after Resolving dependencies... would be very helpful in these cases.

This is done in #4175