API: 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:
watchers: {
  webpack: {
    aggregateTimeout: 300,
    poll: 1000
  }
}

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

watch Usage

Contributors

Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!

Platinum Sponsors

Storyblok Support Us