zankhq / astro-starter

Astro starter template
https://astrostarter.zank.studio
MIT License
55 stars 8 forks source link

Hot Reload Broken #10

Closed caseyjkey closed 9 months ago

caseyjkey commented 9 months ago

I cloned the repository, ran pnpm install then pnpm dev. The site builds and says " [content] Watching src/content/ for changes" However, changes made within src/content does not trigger a refresh. Manual refreshing shows stale content. I also expect changes to components to trigger a refresh with changes, but nothing happens. This slows development significantly.

zanhk commented 9 months ago

Hi @caseyjkey I could not reproduce the error, can you provide some more info like os and node version.

Also I updated all dependencies, can you check if you still encounter the error with the new udpate?

caseyjkey commented 9 months ago

This was on Windows using WSL2 and Node v19.8.1. Switching to Git Bash and installing Node for Windows resolved this issue.