Skip to content

Editing pubspec in a checkout of pkg:build never runs pub get #5189

Closed

Description

@DanTup

While starting to look at #5067, I noticed that we were skipping pub get for reasons other than what we want:

// Never do anything for files inside hidden or build folders.
if (filePath.includes(`${path.sep}.`) || filePath.includes(`${path.sep}build${path.sep}`)) {
this.logger.info(`Skipping pubspec change for ignored folder ${filePath}`);
return;
}

We should figure out a better way to handle this.

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions