forked from nuxt/docs
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from jicjjang/ko/api/configuration-watchers
ko/api/configuration-watchers
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: "API: watchers 프로퍼티" | ||
description: watchers 프로퍼티는 watchers 설정을 덮어씌웁니다 | ||
--- | ||
|
||
# watchers 프로퍼티 | ||
|
||
- 타입: `Object` | ||
- 기본값: `{}` | ||
|
||
> watchers 프로퍼티는 당신의 nuxt.config.js 파일의 watchers 설정을 덮어씌웁니다. | ||
## chokidar | ||
|
||
- 타입: `Object` | ||
- 기본값: `{}` | ||
|
||
|
||
chokidar 옵션에 대해 더 알고싶으시면 [chokidar API](https://github.com/paulmillr/chokidar#api) 문서를 확인 바랍니다. | ||
|
||
## webpack | ||
|
||
- 타입: `Object` | ||
- 기본값: | ||
|
||
```js | ||
watchers: { | ||
webpack: { | ||
aggregateTimeout: 300, | ||
poll: 1000 | ||
} | ||
} | ||
``` | ||
|
||
webpack watchoptions에 대해 더 알고싶으시면, [webpack documentation](https://webpack.js.org/configuration/watch/#watchoptions) 문서를 확인 바랍니다. |