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.

What's next

Check out the Internals Glossary book

Contributors

如何提交问题或文档贡献? 在 GitHub 编辑此页面!