The watch property
The watch property lets you watch custom files for restarting the server.
-
Type:
Object
-
Default:
[]
watch: ['~/custom/*.js']
chokidar is used to set up the watchers. To learn more about chokidar's pattern options, see the chokidar API .
Edit this page on GitHub
Updated at Mon, Jul 12, 2021