all repos — site @ c8f784a4b9cb9623f37717a11c2e5b0eded1de9b

source for my site, found at icyphox.sh

bin/serve.sh (view raw)

 1#!/usr/bin/env bash
 2
 3kill_vite() {
 4    trap SIGINT
 5    echo "cleaning up..."
 6    pkill vite
 7    exit
 8}
 9trap "kill_vite" INT
10
11vite serve &
12find pages/ static/ templates/ | entr vite build
13
14trap SIGINT