From aa9b4b215222c4f59ca1d397c7d118f3cc725e66 Mon Sep 17 00:00:00 2001 From: Chandula Adhikari Date: Sun, 1 Nov 2026 19:29:23 +0530 Subject: [PATCH] Force Astro rebuilds Update the build scripts to run `astro build --force` for both the default and local project builds. This ensures stale generated output is refreshed during rebuilds, especially when working with content from the parent MARC directory. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8551f73..ca5b06e 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "scripts": { "dev": "astro dev", "dev:local": "MARC_CONTENT_ROOT=.. astro dev", - "build": "astro build", - "build:local": "MARC_CONTENT_ROOT=.. astro build", + "build": "astro build --force", + "build:local": "MARC_CONTENT_ROOT=.. astro build --force", "preview": "astro preview", "astro": "astro" },