From 58309228d9412da70f45dfb4e70aa349882ea877 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Fri, 7 Aug 2026 10:15:41 -0600 Subject: [PATCH] Added option to force rebuild of entire cache. Rehype plugins apparently will not regenerate Markdown pages unless the page itself is edited. This option invalidates the cache, forcing a rebuild. --- Makefile | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b00818..a06a06f 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ all: build deploy build: - npm run build + npm run force-build deploy: rsync -vaAExh --delete dist/ aries:/www/hosted/bashelton.com/public_html/sundays/ diff --git a/package.json b/package.json index 9c048be..a281e26 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "scripts": { "dev": "astro dev", "build": "astro build", + "force-build": "astro build --force", "preview": "astro preview", "astro": "astro" },