From dee511cd02cd76a1a78e04d6bbf1063d19851ae3 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Sat, 31 Jan 2026 10:33:12 +1000 Subject: [PATCH] ignore sass compiling for now --- serve | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/serve b/serve index aac8f14..e1c4746 100755 --- a/serve +++ b/serve @@ -19,17 +19,17 @@ CSS_PATH="$WEBROOT/css" SASS_PID= # ======================= # -function cleanup { - if [[ -n "$SASS_PID" ]]; then - kill "$SASS_PID" - fi -} +# function cleanup { +# if [[ -n "$SASS_PID" ]]; then +# kill "$SASS_PID" +# fi +# } # Watch .sass/.scss files and compile on change -function watch_scss { - # watch format "SCSS_PATH:OUT_PATH" - sass --watch "$SCSS_PATH:$CSS_PATH" -} +# function watch_scss { +# # watch format "SCSS_PATH:OUT_PATH" +# sass --watch "$SCSS_PATH:$CSS_PATH" +# } function host { local args=( "$@" ) @@ -47,13 +47,13 @@ function host { simple-http-server "${args[@]}" "$@" -- "$WEBROOT" } -trap cleanup EXIT +# trap cleanup EXIT set -ueo pipefail set -x # auto compile scss changes -watch_scss & -SASS_PID=$! +# watch_scss & +# SASS_PID=$! # host dev server host "${SRV_ARGS[@]}"