Skip to content

Dev server constantly restarting on Windows in v3.30.0 #1135

@aroneous

Description

@aroneous

The problem described in #1028 , introduced in v3.26.0 by #913, and fixed in v3.29.0 by #1060, has returned in v3.30.0.

I believe the regression was introduced by #1105, which introduced the new ForkPool. The issue appears to be that the FileChangeTracker, which was introduced to address the problem originally, is re-created with each new fork. This class has an mtimes cache of previously-known file update times, and so must persist across restarts to be useful. (Or, perhaps that cache just needs to be populated at the time the FileChangeTracker is created? I'm a bit unclear how it was working previously.)

Tagging @danielroe, as the author of all the mentioned changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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