Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit d5e9060

Browse files
committed
chore: watch components during developing
1 parent 2e4ecb1 commit d5e9060

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Offical blog plugin for VuePress",
55
"scripts": {
66
"lint": "xo",
7-
"dev": "concurrently \"rimraf lib\" \"npm:dev:client\" \"npm:dev:node\" \"npm:build:components\"",
7+
"dev": "concurrently \"rimraf lib\" \"npm:dev:client\" \"npm:dev:node\" \"nodemon\"",
88
"build": "concurrently \"rimraf lib\" \"npm:build:client\" \"npm:build:node\" \"npm:build:components\"",
99
"dev:client": "tsc -p tsconfig.client.json --watch",
1010
"dev:node": "tsc -p tsconfig.node.json --watch",
@@ -45,6 +45,13 @@
4545
"typescript": "3.1.4",
4646
"vuepress": "^1.0.0"
4747
},
48+
"nodemonConfig": {
49+
"exec": "yarn build:components",
50+
"ext": "vue",
51+
"watch": [
52+
"src/client/components/"
53+
]
54+
},
4855
"xo": {
4956
"extends": [
5057
"rem",

0 commit comments

Comments
 (0)