commit 976846acf627d2471cca09e279445bddd9b1d60c parent a24fae1f452e163a5b8d021f3d2d4adb803fd16c Author: Henry Unite <unitehenry@gmail.com> Date: Sun, 12 Apr 2026 03:20:36 +0000 chore: watch content Diffstat:
| M | scripts/serve | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/scripts/serve b/scripts/serve @@ -9,4 +9,10 @@ cleanup() { trap cleanup SIGINT SIGTERM -find | entr scripts/generate +TEMP_FILES=$(mktemp) + +find content >> $TEMP_FILES + +find static >> $TEMP_FILES + +cat $TEMP_FILES | entr scripts/generate