[nodemon] 1.19.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: src/**/*
[nodemon] starting `ts-node index.ts`
[nodemon] Internal watch failed: ENFILE: file table overflow
我尝试杀死节点进程,也尝试运行
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
我明白了
sysctl: illegal option -- p
usage: sysctl [-bdehiNnoqx] name[=value] ...
sysctl [-bdehNnoqx] -a
但这些似乎不起作用。我正在使用 macOS 10.15.3