Skip to content

Commit db13369

Browse files
committed
Fix linting errors not shown on first compile
Add command to empty cache before serving vuejs/vue-cli#3065
1 parent 1f3a261 commit db13369

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"serve": "vue-cli-service serve",
6+
"serve": "rimraf -rf ./node_modules/.cache/vue-loader && vue-cli-service serve",
77
"build": "vue-cli-service build",
88
"lint": "vue-cli-service lint",
99
"staging": "vue-cli-service build --mode staging",
@@ -52,4 +52,4 @@
5252
"pre-commit": "npm run lint --silent"
5353
}
5454
}
55-
}
55+
}

0 commit comments

Comments
 (0)