Lullabot / lb-ebook-poc

ISC License
0 stars 0 forks source link

duplicate listings of books #12

Closed sirkitree closed 1 month ago

sirkitree commented 1 month ago

Sometimes I'm seeing a duplicate listing for books - not sure this page will be public so may not be a big deal but I'm logging it here. image

sirkitree commented 1 month ago

the only way i can replicate this currently is when i'm making changes to code and it regenerates automatically. as soon as i run the npm run build it rights itself again.

sirkitree commented 1 month ago

going back to the main branch where the "Challenges for Large Content Teams" isn't even present and changing the cover.md in my-sample-ebook triggered this on save. So it has to be a caching issue within the automated build on save.

This happens from the package.json scripts "watch:eleventy": "npx @11ty/eleventy --serve", which watches for change in your source files and rebuild the site whenever a change is detected.

sirkitree commented 1 month ago

this is negated by restarting the local server, so I don't think this is something we need to fix really.