I ran into the a
ENOSPC error while watching many files using
chokidar. I assumed the issue related to disk space which was not the case.
The below fix worked like magic once I ran it in
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Subscribe to Santosh writes here
Get the latest posts delivered right to your inbox