diff options
| author | Christian Hodgden <chrhodgden@gmail.com> | 2026-02-03 16:25:44 -0600 |
|---|---|---|
| committer | Christian Hodgden <chrhodgden@gmail.com> | 2026-02-03 16:25:44 -0600 |
| commit | 7b2b1f6b837dbca3dd08cb89836cb1ae098c2bd8 (patch) | |
| tree | 2e9f027245a84e9c1372f88196ebbdfbf58bf920 /scripts | |
Initial Commit.main
Yay
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/hugo-serve-localhost.sh | 10 | ||||
| -rwxr-xr-x | scripts/hugo-serve-public.sh | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/scripts/hugo-serve-localhost.sh b/scripts/hugo-serve-localhost.sh new file mode 100755 index 0000000..8d4f579 --- /dev/null +++ b/scripts/hugo-serve-localhost.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +HUGO_CMD="hugo serve -DEF --noHTTPCache --navigateToChanged" + +if [ -z "$TMUX" ]; then + exec $HUGO_CMD +else + exec tmux neww -n hugo-server $HUGO_CMD +fi + diff --git a/scripts/hugo-serve-public.sh b/scripts/hugo-serve-public.sh new file mode 100755 index 0000000..99db103 --- /dev/null +++ b/scripts/hugo-serve-public.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +HUGO_CMD="hugo serve -DEF --noHTTPCache --disableFastRender --disableLiveReload" + +if [ -z "$TMUX" ]; then + exec $HUGO_CMD +else + exec tmux neww -n hugo-server $HUGO_CMD +fi + |