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

Updating post content with lume --serve generate incomplete index.html #41

Closed
yadomi opened this issue Mar 5, 2021 · 5 comments
Closed

Comments

@yadomi
Copy link

yadomi commented Mar 5, 2021

Hello, I don't think this is the expected behavior, when updating a post while lume --serve is running, the index.html generated for the article is missing the whole template. I can reproduce this with the base-blog.

Steps to reproduce:

  1. run lume --serve
  2. Go to http://localhost:3000
  3. Click on a post
  4. Edit the .md for that post
  5. Reload the browser window
  6. => The file contains only the html of the article without the template/layout html
2021-03-05.23-21-16_Trim.mp4

Anyway, lume is still awesome 🚀🦕

@oscarotero
Copy link
Member

Hi, @yadomi
Thanks for the detailed reporting. This is not the expected behavior, I'll fix it asap.

@oscarotero
Copy link
Member

Hi again, @yadomi
I cannot reproduce this error. What's the version of lume you're using? (I have v0.15.2, run lume upgrade to upgrade to the latest version)

I see you're on Windows, maybe it's the reason, I have to get a windows machine to test it (I use macos)

@yadomi
Copy link
Author

yadomi commented Mar 6, 2021

Hello, yes, indeed it look like it's windows specific as I've just tested on a Linux machine and I don't have the issue.
I'm using the latest version, v0.15.2

@oscarotero
Copy link
Member

@yadomi I just released a new version v0.15.3 that fixes some issues related with Windows paths.

@yadomi
Copy link
Author

yadomi commented Mar 6, 2021

That was quick, you rock ! I've upgraded and it's working as expected.

The issue can be closed then 🚀

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

No branches or pull requests

2 participants