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

Draft posts don't show up in local site #3820

Open
4 tasks
beechnut opened this issue Apr 11, 2024 · 2 comments
Open
4 tasks

Draft posts don't show up in local site #3820

beechnut opened this issue Apr 11, 2024 · 2 comments
Labels

Comments

@beechnut
Copy link
Contributor

beechnut commented Apr 11, 2024

Expected Behavior

When I visit the local site, I should to see my draft blog post in the list.

Actual Behavior

When I visit the local site, my draft post is nowhere to be found.

Steps to reproduce the behavior

  • Add a blog post with a date of one day ago (both in the file name and front matter), and save
  • Ensure serve is running
  • Visit or refresh the /blog path

This issue is done when

  • Added blog post shows up at the top of the feed
@beechnut
Copy link
Contributor Author

Turns out you have to delete _site/ to get the new post to take. npm build restart helps with this. This should not be the default developer experience, and the README should be cleaned up to explain this workflow.

@cantsin
Copy link
Member

cantsin commented May 13, 2024

Let's revisit if folks still have the same problem. Thanks for the report! Iceboxing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants