Skip to content

extremely slow build #143

@shreyas1599

Description

@shreyas1599

Running flutter pub run build_runner build --delete-conflicting-outputs at least 15-20 minutes for every change in a graphql file. I tried modifying build.yaml and adding generate_for but it does not seem to make any difference.

ferry_generator|req_builder:
        generate_for:
          - lib/graphql/*.* 

I assumed using generate_for will skip running on files not within the specified directory but I still get the following:

[WARNING] No actions completed for 42.2s, waiting on: <files_not_in_generate_for>

Is there any field in options that I can use to run build_runner only for a specific directory or any recommendations to speed up the build? Here's the entire build.yaml.

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions