fix hugo-server script

This commit is contained in:
Greg Gauthier 2026-01-12 18:26:03 +00:00
parent 67572c133a
commit 50fa850a8e

View File

@ -4,7 +4,7 @@ export LOG=./logs/hugo-server.log
if [ -n "$1" ]; then
if [[ "$1" == "start" ]]; then
hugo server -D --disableFastRender --enableGitInfo -v --debug > $LOG 2>&1 &
hugo server -D --port 8888 --disableFastRender --enableGitInfo --logLevel debug > $LOG 2>&1 &
echo "Server started on $(pidof hugo)"
elif [[ "$1" == "stop" ]]; then
kill -9 "$(pidof hugo)"