Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Enable usePolling on Windows to fix file-lock #1523

Merged

Conversation

TheAfroOfDoom
Copy link
Contributor

@TheAfroOfDoom TheAfroOfDoom commented Jul 14, 2024

Summary

There hasn't been a noticeable performance drop in my (fairly large) project so I think this solution is more than good enough 🤷

(if anyone wants to do some performance checks on this in voice chat with me I'd be more than happy to. not entirely sure what to check other than speed at which a file is re-parsed upon changing)

Preview

before after
before renaming after renaming

@misode
Copy link
Member

misode commented Jul 15, 2024

I tried this PR on the Gamemode 4 project and looking at the logs, after 10 minutes of waiting the file watcher still wasn't ready. There were 32K files in my workspace, so that's not the average project, but if we add this it should definitely be opt-in

@MulverineX MulverineX merged commit db02249 into SpyglassMC:main Jul 30, 2024
3 checks passed
@TheAfroOfDoom TheAfroOfDoom deleted the 1414-file-watcher-polling-windows branch July 30, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot rename folder
3 participants