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

Fix EPERM on windows #156

Closed
wants to merge 3 commits into from
Closed

Fix EPERM on windows #156

wants to merge 3 commits into from

Conversation

ArtskydJ
Copy link

Fixes #83.

If it gets an EPERM error when renaming, it will copy the dotfile to the outfile and delete the dotfile, effectively renaming it.

Edit: The comment chain below is outdated.

@ghost
Copy link

ghost commented Mar 20, 2015

I'm not sure what to make of this with so many comments. What's the verdict on this patch?

@ArtskydJ
Copy link
Author

The comments above don't apply to this patch, because Larzans was requiring watchify, not running it from the command line. (And this patch only modifies cmd.js.)

This patch was working on my computer, but I found out recently, that under certain conditions, I am still able to replicate the bug.

So, unfortunately, this patch doesn't totally fix the bug. I'll make a new PR if I figure this out.

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.

Error: EPERM, rename '...something...'
1 participant