site

A custom static site generator written in C.
git clone https://unitehenry.com/git/site.git
Log | Files | Refs | README

commit 24c95ceae7311e106c43ca92ef31f7eeae88c5d1
parent 9bb8b2903a7af0130b7a4c574d316cada646ae5b
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sun, 12 Apr 2026 02:54:05 +0000

chore: dev server

Diffstat:
Ascripts/serve | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/scripts/serve b/scripts/serve @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +npx http-server -c-1 build & + +HTTP_PID=$! + +cleanup() { + kill $HTTP_PID +} + +trap cleanup SIGINT SIGTERM + +find | entr scripts/generate