Revert "🔧 Chore: optimize npm scripts"

and add param --ignoreCache

This reverts commit 12e090f405.
This commit is contained in:
Cell
2022-05-30 16:36:36 +08:00
parent 6178bf1553
commit 43294b5731
+1 -1
View File
@@ -22,7 +22,7 @@
"build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. --gc --minify",
"build-lunr-segmentit": "browserify src/lib/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env --presets minify",
"server": "hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender --navigateToChanged --ignoreCache",
"server:production": "npm run server -e production",
"server:production": "hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender --navigateToChanged --ignoreCache -e production",
"start": "npm run babel && npm run server",
"start:production": "npm run babel && npm run server:production",
"algolia": "atomic-algolia"