I get the famous error Error: ENOSPC: System limit for number of file watchers reached, watch 'frontend/node_modules/@angular/platform-browser/platform-browser.d.ts.__ivy_ngcc_bak'.
The problem I think is webpack is watching node_modules files.
I use linux, I have fs.inotify.max_user_watches=1048576 and the problem persists.
When I remove node_modules and rebuild el project, it works fine for a few hours...
Any way to exclude node_modules for watching in angular project?