Restart astro dev after changing a content loader

·#astro·

After I changed the glob loader in content.config.ts and moved the files into year/month folders, the running dev server kept an old content cache. The /til page showed only 3 of 14 notes, while npm run build produced all of them.

Restarting the dev server fixed it:

astro dev stop
astro dev --background

If the dev page and the build disagree after a content config change, restart before debugging.

Keyboard shortcuts
/Open search / command palette
⌘KToggle command palette
gtGo to TIL stream
gbGo to Articles
ghGo to Home
↑↓Navigate results
↵Select result
escClose palette