macOS has no file watcher limit like this. ENOSPC on a Mac means the disk is full: see Check disk space.
- See the current limit
cat /proc/sys/fs/inotify/max_user_watches - Raise the limit and keep it after a restartNeeds sudo
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/99-file-watchers.conf sudo sysctl --system
Check it worked
- Check the new limit
cat /proc/sys/fs/inotify/max_user_watchesIt should say 524288. Start your dev server again.
Undo it
- Remove the settingNeeds sudo
sudo rm /etc/sysctl.d/99-file-watchers.confThe old limit comes back after the next restart.
Windows has no file watcher limit like this. Seeing it in WSL? Run the Linux steps inside WSL.