我正在运行以下命令:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
并收到此错误:
sysctl: cannot stat /proc/sys/fs/inotify/max_user_watches: No such file or directory
我不知道该怎么办。我在 Windows 10 内部版本 1709、操作系统内部版本 16299.309 上运行 WSL
>max_user_watches
在1709年没有实现。它被修复在1803年。有关更多详细信息,您可以参考此错误:https://github.com/Microsoft/WSL/issues/1705