Skip to content

Automatic Packages Get on Pubspec change not working if prompt to run "pub get" at startup is ignored #4307

Description

@davidmartos96

Describe the bug
Hello, I've recently encountered with this odd behavior in my project. I'm aware of the dart.runPubGetOnPubspecChanges setting, which is set to always.
Trying it with a simpler project, it seems to work correctly.
I would like to know what could be causing it to fail in the other project. Is there any way to show the logger messages with the Extension installed from the store? I can see in the implementation that there are several messages when an early return occurs.
The automatic packages get behavior has been working fine for a long time in this project, so something must have changed recently on my end or on vscode.

To Reproduce
Steps to reproduce the behavior:

  1. Edit pubspec.yaml
  2. Packages get is not run.

Expected behavior
Packages get should run

Please complete the following information:

  • Operating System and version: Fedora 37
  • VS Code version: 1.74.1
  • Dart extension version: 3.55.20221130
  • Dart/Flutter SDK version: 3.55.20221129

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions