Skip to content

Flutter run always resolves dependencies #4699

@FMorschel

Description

@FMorschel

Environment

  • Flutter 3.35.7
  • Dart 3.9.2
  • OS: Windows 11 Pro

Problem

This may be the same problem as #4672, but I just want to be sure.

I have a pub workspace with 6 Flutter apps and multiple packages. On the latest stable, if I run flutter run, I always see:

Resolving dependencies in `/my/package/path/`.
Downloading packages...

Which I'd expect only if the dependencies were not resolved.

Expected behavior

For it to run normally and skip the dependencies resolution, since that is already complete.

Actual behavior

Even if I run the app, close it with no changes and run it again, I see the same output every time.

--verbose output

I've verified, and nothing there displays why it is resolving the dependencies.

CC @sigurdm

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions