Skip to content

Commit 1d3637f

Browse files
committed
build: clean cache before dev and build docs
1 parent 95523a2 commit 1d3637f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"copy": "lerna run copy --stream",
1111
"copy-watch": "lerna run copy --parallel -- --watch",
1212
"dev": "yarn copy-watch & yarn build --watch",
13-
"docs:build": "vuepress build docs",
13+
"docs:build": "vuepress build docs --clean-cache",
1414
"docs:clean": "rimraf docs/.vuepress/.temp docs/.vuepress/.cache docs/.vuepress/dist",
15-
"docs:dev": "vuepress dev docs",
15+
"docs:dev": "vuepress dev docs --clean-cache",
1616
"docs:serve": "anywhere -h localhost -d docs/.vuepress/dist",
1717
"postinstall": "yarn copy && yarn build",
1818
"lint": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" eslint --ext .js,.ts,.vue .",

0 commit comments

Comments
 (0)