-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
--watch
not working with helix-editor
#12677
Comments
Could you try to run
And note the lines with You could also try |
This is the output with
|
adding |
This is not a hugo issue but a helix issue. |
Well, that's debatable. Looking at these 2 lines:
I'm guessing that the above is hinting at the problem; I suspect that Helix saves to a temp file and then renames it, not sure. |
|
I just spent the day tearing my hair out trying to solve this problem, and this solved it! Maybe there is some better way to deal with this long term than adding |
I'd be surprised if this was the issue. Vim also writes to a temporary file and renames it. |
@kirawi We have a few exclusions related to vim, but nothing for .bck files. Lines 779 to 794 in e1becf1
|
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. |
What version of Hugo are you using (
hugo version
)?Steps to reproduce:
hugo server
orhugo --watch
Expected result
Hugo reacts to file changes and rebuilds pages
Actual result
Hugo reacts to file changes and builds pages, but not all of them and the output is the same as the one without the changes.
This only happens in Helix editor. In
vim
everything works as expected.The text was updated successfully, but these errors were encountered: