themefisher / bookworm-light-nextjs

Bookworm is a minimal NextJs, Tailwind CSS blog starter template.

Home Page:https://bookworm-light-nextjs.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

posts.json not updating when new file added to content/posts directory

dmiyamasu opened this issue · comments

commented

I manually added a new .md file to the content/posts directory, and published it. The post page was created successfully, but the posts.json file was not updated to include that post content in the file. this results in the search functionality and "similar posts" functionality not working properly.

commented

Hello @dmiyamasu

Thanks for choosing our template. posts.json creates when you run npm run dev or npm run build. If you want to update posts.json, then please cancel the dev command and run it again.