summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-03-10 11:40:27 -0800
committerGravatar GitHub <noreply@github.com> 2022-03-10 13:40:27 -0600
commit602bf2f181e5ae59f95f94a43dd21fdf092d8a3c (patch)
tree10954fb9c68257333463b1c983ce13c32249803b
parenta14075e2a4d8897e24e2928318e653b63637ebe3 (diff)
downloadastro-602bf2f181e5ae59f95f94a43dd21fdf092d8a3c.tar.gz
astro-602bf2f181e5ae59f95f94a43dd21fdf092d8a3c.tar.zst
astro-602bf2f181e5ae59f95f94a43dd21fdf092d8a3c.zip
fix eperm ci issue on windows (#2757)
-rw-r--r--packages/astro/src/core/preview/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/astro/src/core/preview/index.ts b/packages/astro/src/core/preview/index.ts
index 86ed88af3..b686cf3f9 100644
--- a/packages/astro/src/core/preview/index.ts
+++ b/packages/astro/src/core/preview/index.ts
@@ -33,6 +33,7 @@ export default async function preview(config: AstroConfig, { logging }: PreviewO
/** Base request URL. */
let baseURL = new URL(config.buildOptions.site || '/', defaultOrigin);
const staticFileServer = sirv(fileURLToPath(config.dist), {
+ dev: true,
etag: true,
maxAge: 0,
});