Hi there,
We’ve recently started receiving this error message:
17|yorktown-dev | Watchpack Error (watcher): Error: ENOSPC: System limit for number of file watchers reached, watch '/home/zope/instances/yorktown/frontend/core/packages/volto/node_modules/svg-loader'
Has anyone else encountered this error and if so could you please share what solution(s) worked for you?
From my internet sleuthing I found that there were 2 common solutions that most had used/suggested:
- Add a watchOptions.ignored to their webpack.config.js (1. source)
- Increase the number of watchers (1. source)
Currently we have 204800 watchers.
Any assistance around this would be greatly appreciated
and if you require any additional information I’ll do my best to provide it.