Skip to content

Commit

Permalink
🔧 Chore: add "-O" flag to hugo server command
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Nov 19, 2024
1 parent fcc7265 commit 0a2eaea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"lint:md": "autocorrect content --lint && markdownlint-cli2 \"content/**/*.md\"",
"prepare": "husky install",
"build": "hugo --gc --minify --logLevel info",
"server": "hugo server -D --disableFastRender --navigateToChanged --ignoreCache",
"server": "hugo server -D --disableFastRender --navigateToChanged --ignoreCache -O",
"server:production": "npm run server -- -e production",
"server:development": "cross-env HUGO_MODULE_WORKSPACE=hugo.work npm run server -- --ignoreVendorPaths \"**\"",
"update:theme": "hugo mod get -u github.com/hugo-fixit/FixIt@dev && hugo mod tidy"
Expand Down

0 comments on commit 0a2eaea

Please sign in to comment.