Want to take a look at our new docs? Our
new docs
are now in beta. Have fun!
API: watch 属性
The watch Property
- Type:
Object
- Default:
[]
watch 属性允许您监听自定义文件来重新启动服务器。
watch: ['~/custom/*.js']
chokidar用于建立watch
。要了解有关 chokidar 模式选项的更多信息,请参阅 chokidar API。
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!