The watch Property

  • Type: Object
  • Default: []

The watch property lets you watch custom files for restarting the server.

watch: ['~/custom/*.js']

chokidar is used to set up the watchers. To learn more about chokidar's pattern options, see the chokidar API.

Partners

  • Netlify
  • Google Chrome
  • Vercel
  • Swell
  • Strapi
  • Ship Shape
  • Layer0
  • Storyblok
  • 64 Robots
  • Netlify
  • Google Chrome
  • Vercel
  • Swell
  • Strapi
  • Ship Shape
  • Layer0
  • Storyblok
  • 64 Robots
Support Us