[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
I tried killing node process, and also tried running
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
I get
sysctl: illegal option -- p
usage: sysctl [-bdehiNnoqx] name[=value] ...
sysctl [-bdehNnoqx] -a
But these doesn't seem to work. I'm using macOS 10.15.3
I was having the same problem.
sudo launchctl limit maxfiles 65536 200000
worked for me. Found it here: https://wilsonmar.github.io/maximum-limits/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With