vim /proc/sys/fs/inotify/max_user_watches
保存退出的时候报错如下:
"/proc/sys/fs/inotify/max_user_watches"
"/proc/sys/fs/inotify/max_user_watches" E667: Fsync failed
Press ENTER or type command to continue
网上的解决方案是:
echo "99999999">/proc/sys/fs/inotify/max_user_watches
这样就行了,我也不知道是什么原因,先记着。