Skip to content

Commit f0c8a06

Browse files
committed
Fixed npm-watch for docfx
1 parent 3f4002f commit f0c8a06

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

docs/package.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,22 @@
33
"version": "1.0.0",
44
"scripts": {
55
"docfx": "npm-watch build_serve",
6-
"build_serve": "docfx .\\docfx.json --serve"
6+
"build_serve": "docfx build .\\docfx.json --serve"
77
},
88
"watch": {
9-
9+
"build_serve": {
10+
"patterns": [
11+
"templates/**/*",
12+
"api/**/*",
13+
"articles/**/*",
14+
"./*.md"
15+
],
16+
"extensions": "md,yml,css,partial",
17+
"quiet": true,
18+
"legacyWatch": true,
19+
"delay": 500,
20+
"runOnChangeOnly": false
21+
}
1022
},
1123
"devDependencies": {
1224
"npm-watch": "^0.11.0"

0 commit comments

Comments
 (0)