Skip to content

pushwork / nodefs doesn't work reliably on windows #24

@pvh

Description

@pvh

On Windows, files are often accessed by the built-in antivirus or other sub-systems shortly after their creation. During these accesses, the file cannot be moved to a new location. It's (apparently) customary to include some retry logic on the Windows platform when doing moves / atomic writes to account for this.

I think the solution is to use something like graceful-fs which I believe can handle this internally but Claude also suggested some boilerplate that was painfully verbose but seems roughly correct.

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