Browse Source

fix astro watch dist

pull/5615/head
Daniel 3 months ago
parent
commit
79703897f0
  1. 9
      src/config/astro.config.mjs

9
src/config/astro.config.mjs

@ -15,5 +15,12 @@ export default defineConfig({
integrations: [mdx()], integrations: [mdx()],
srcDir: './src/html', srcDir: './src/html',
cacheDir: './dist/pages', cacheDir: './dist/pages',
outDir: './dist/pages' outDir: './dist/pages',
vite: {
server: {
watch: {
ignored: ['!**/dist/**'],
}
}
}
}) })

Loading…
Cancel
Save