Error from chokidar (/home/dev/ydownloads/stu/item/gulivscode/vue-admin-template-master/src/views/dashboard): Error: ENOSPC: System limit for number of file watchers reached, watch '/home/dev/ydownloads/stu/item/gulivscode/vue-admin-template-master/src/views/dashboard/index.vue'
##### 解决方案
####
dev@wdc:~
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
[sudo] dev 的密码:
fs.inotify.max_user_watches=524288
net.ipv4.ip_forward = 1
fs.inotify.max_user_watches = 524288
运行成功
DONE Compiled successfully in 6268ms
I Your application is running here: http://localhost:9528
Error from chokidar系统报如下错:Error from chokidar (/home/dev/ydownloads/stu/item/gulivscode/vue-admin-template-master/src/views/dashboard): Error: ENOSPC: System limit for number of file watchers reached, watch '/home/dev/ydownloads/stu/item/gulivscode/vue-a