Astro v4.11.0
Node v20.14.0
System Linux (x64)
Package Manager npm
Output static
Adapter none
Integrations @astrojs/tailwind
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Browser isn't auto-refershing after I added const pages = await Astro.glob('../pages/python/*.md') in BlogLayout.astro. I manually have to hit reload on the browsers to see the changes.
Before adding const pages = await Astro.glob('../pages/python/*.md'), the astro dev server logs were like this:
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Browser isn't auto-refershing after I added
const pages = await Astro.glob('../pages/python/*.md')
inBlogLayout.astro
. I manually have to hit reload on the browsers to see the changes.Before adding
const pages = await Astro.glob('../pages/python/*.md')
, the astro dev server logs were like this:now the astro dev server is not watching the
.md
and.astro
files, and the logs are like this:What's the expected result?
I want the browser to reload automatically whenever I save changes on my code editor.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-epq2i8?file=src%2Fpages%2Fpython%2Findex.md
Participation