Skip to content

Two compilations per file change on version 5.0.0 #11961

@betula

Description

@betula

Hi Guys! Thanks a lot for such a great tool.

We started to update the react-scripts from version 4.0.3 to version 5.0.0 and got a faster production build.

But in development mode, there are two compilations per change.

On version 4.0.3 everything was fine.

But after the update, it began to report twice about the compilation process for each change, and the time from changing each file to the end of the final compilation became much longer than in version 4.0.3

This is reproducible on our machines on Linux and macOS.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions