From 599e5217199b09feff47f789887a4a6bb9399166 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 15 Aug 2025 09:07:56 -0700 Subject: [PATCH] Simplify run script. --- run.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/run.sh b/run.sh index ec10b75..3e29109 100755 --- a/run.sh +++ b/run.sh @@ -3,11 +3,8 @@ DIR="$(dirname -- "${BASH_SOURCE[0]}")" cd $DIR -rm -rfv public -mkdir -pv public +# Create Production Files +hugo --gc --minify -if [[ ! -f static/style.css ]]; then - cp -rv themes/lugo/static/style.css static/ -fi - -hugo server -D --noBuildLock +# Run Development Environment (includes drafts) +hugo server -D --noBuildLock --bind=0.0.0.0