The watchers Property

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