-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Investigate tmp file regression #2168
Comments
I have checked: I started using Byword last summer (to replace TextMate which had a livereload issue on OS X that is now fixed); we relased 0.15 in November, so I'm pretty sure this is a regression. |
I could maybe narrow it further, but this commit is working (as in: it does not get confused by temp files in atomic saves): ed3015c |
This commit fails: c438f45 So it looks like one of your commits on Jan 26, 2016. |
@bep I'm glad you discovered this as it uncovered a major bug in Hugo. I've been able to identify and reproduce the issue. The issue extends far beyond Byword. The problem is in the way Hugo now handles events. If a create and then rename event of the same file are triggered in the same notification event Hugo will hang trying to read the created file that is no longer present. The quick fix would be to enumerate and ignore all of the different temp files used but that’s not addressing the real issue. I'm working on a fix for it right now. |
That seems like an impossible task -- there are plenty of editors out there ... |
Without this fix, any error during rereading would cause Hugo to hang. Fixes #2168
Without this fix, any error during rereading would cause Hugo to hang. Fixes gohugoio#2168 Closes gohugoio#2179
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
See b503078
Also see last comment in #2021
I added the Byword temp files exclude, but I have used Byword for a long time, so this is something that has happened in Hugo 0.16.
The text was updated successfully, but these errors were encountered: