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