Issue description
I was upgraded to v4.31.0 today, and now receive this error when running serverless dev on a project that works with previous versions. I have also confirmed that others on my team are experiencing the issue.
✖ Error: EMFILE: too many open files, watch
at FSWatcher._handle.onchange (node:internal/fs/watchers:214:21)
Pinning a previous version in serverless.yml resolves the issue.
Context
Service Overview
- Serverless Framework Version: 4.31.0
- node v22.21.1
- Mac OSX 15.7.2