Skip to content

Fix EPERM on windows#156

Closed
ArtskydJ wants to merge 3 commits intobrowserify:masterfrom
ArtskydJ:fix-eperm
Closed

Fix EPERM on windows#156
ArtskydJ wants to merge 3 commits intobrowserify:masterfrom
ArtskydJ:fix-eperm

Conversation

@ArtskydJ
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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