File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ This is an egg plugin for local development, under development environment enabl
23
23
24
24
## Configuration
25
25
26
- see [ config/config.default.js ] ( https://github.com/eggjs/egg-development/blob/master/config/config.default.js ) for more detail.
26
+ see [ config/config.default.ts ] ( https://github.com/eggjs/egg-development/blob/master/src/ config/config.default.ts ) for more detail.
27
27
28
28
## Features
29
29
@@ -53,12 +53,14 @@ Under the following directory (including subdirectories) will ignore file change
53
53
54
54
Developer can use ` config.reloadPattern ` ([ multimatch] ( https://github.com/sindresorhus/multimatch ) ) to control whether to reload.
55
55
56
- ``` js
57
- // config/config.default.js
58
- exports .development = {
59
- // don't reload when ts fileChanged
60
- // https://github.com/sindresorhus/multimatch
61
- reloadPattern: [' **' , ' !**/*.ts' ],
56
+ ``` ts
57
+ // config/config.default.ts
58
+ export default = {
59
+ development: {
60
+ // don't reload when css fileChanged
61
+ // https://github.com/sindresorhus/multimatch
62
+ reloadPattern: [' **' , ' !**/*.css' ],
63
+ },
62
64
};
63
65
```
64
66
You can’t perform that action at this time.
0 commit comments