⚠️ You are looking at the english version of the page. Help us translate it here.
Want to take a look at our new docs? Our new docs are now in beta. Have fun!

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.

Contributors

Contribution for this page is now closed. If you would like to contribute please check out our new docs are now in beta. Have fun!

Platinum Sponsors

StoryblokMoovweb Support Us