inotify 在 WSL1 中工作。然后,由于 GNU 软件中不支持的功能,它在 WSL2 中被故意关闭,现已解决。
如何在 WSL2 中启用或打开 inotify?
inotify windows-subsystem-for-linux
inotify ×1
windows-subsystem-for-linux ×1