-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
File deleted from _site/ during watch if not changed #418
Comments
Thanks for opening this issue. I can confirm it's a bug on Lume 1.17, sorry for the trouble. |
Fixed in v1.17.1. |
Btw, I'm still getting errors like this, where the file disappears from _site if it's saved again but was supposed to generate the same output. |
Is there any way to reproduce the error? |
Use the exact same set up as before, but instead of |
(btw, I can't re-open the bug) |
Fixed in 1.17.4 |
Version
1.17.0
Platform
mac
What steps will reproduce the bug?
This is my minimal repro.
_config.js
:create a file
a.js
with a anything on it and runlume -w
.If you check, there will be a
_site/a.js
file with the correct content.Now in a separate terminal, run
touch a.js
. Lume will show:but now the file disappears from
_site
. If you actually changea.js
content, then everything works as expected (the file gets updated).How often does it reproduce? Is there a required condition?
I tried to look into the code and I have no idea how this can be happening, so maybe is some weird OS-specific, thing? I've created a new project from scratch and I'm always able to repro.
What is the expected behavior?
The file to stay on
_site
when it changed but the content hasn't changed.What do you see instead?
The file disappears from
_site
until I re-run lume.Additional information
No response
The text was updated successfully, but these errors were encountered: