• Type: Object
  • Default: {}

The watchers property lets you overwrite watchers configuration in your nuxt.config.js.

chokidar

  • Type: Object
  • Default: {}

To learn more about chokidar options, see the chokidar API.

webpack

  • Type: Object
  • Default:
  1. watchers: {
  2. webpack: {
  3. aggregateTimeout: 300,
  4. poll: 1000
  5. }
  6. }

To learn more about webpack watchOptions, see the webpack documentation.

What’s next

watchers - 图1

Check out the Internals Glossary book