inkandswitch / inkandswitch/pushwork

pushwork / nodefs doesn't work reliably on windows

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
55
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.