Last active
April 21, 2023 13:17
-
-
Save eallion/7c1b145684d107abbed03b2224526671 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 优先运行 Firefox-devlopper | |
if [ `command -v firefox-dev` ]; then | |
start firefox-dev -private-window "http://127.0.0.1:1313" | |
else | |
start chrome -incognito "http://127.0.0.1:1313" | |
fi | |
hugo server -w -D -p 1313 -t DoIt --bind 0.0.0.0 --contentDir example --forceSyncStatic --ignoreCache --noHTTPCache --disableFastRender -e production --enableGitInfo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment