The watchers property
The watchers property lets you overwrite watchers configuration in your nuxt.config.js.
- Type:
Object
- Default:
{}
chokidar
- Type:
Object
- Default:
{}
To learn more about chokidar options, see the chokidar API.
webpack
- Type:
Object
- Default:
watchers: {
webpack: {
aggregateTimeout: 300,
poll: 1000
}
}
To learn more about webpack watchOptions, see the webpack documentation.
What’s next
Check out the Internals Glossary book