Skip to content

Commit ef00052

Browse files
committed
f
1 parent 250f0b9 commit ef00052

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This is an egg plugin for local development, under development environment enabl
2323

2424
## Configuration
2525

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.
2727

2828
## Features
2929

@@ -53,12 +53,14 @@ Under the following directory (including subdirectories) will ignore file change
5353
5454
Developer can use `config.reloadPattern`([multimatch](https://github.com/sindresorhus/multimatch)) to control whether to reload.
5555

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+
},
6264
};
6365
```
6466

0 commit comments

Comments
 (0)