undefined
Watch files and directories for changes. When a file changes, the page will be reloaded.
If both dev.hmr
and dev.liveReload
are set to false, watchFiles
will be ignored.
When files in WatchFiles change, reloading and recompilation of the configuration file will not be triggered.
You can configure a list of globs/directories/files to watch for file changes.
You can also specify chokidar watcher options by passing an object with paths
and options
properties.