We get this error from time to time, it’s not a major issue as we’re able to clear cache and redeploy which then successfully deploys our site but just wanted to flag it.
11:13:40 AM: error ENOSPC: System limit for number of file watchers reached, watch '/opt/build/repo/gatsby-config.js'
11:13:40 AM: UNHANDLED EXCEPTION ENOSPC: System limit for number of file watchers reached, watch '/opt/build/repo/gatsby-config.js'
11:13:40 AM: See our docs page for more info on this error: https://gatsby.dev/issue-how-to
11:13:40 AM:
11:13:40 AM: Error: ENOSPC: System limit for number of file watchers reached, watch '/opt/b uild/repo/gatsby-config.js'
11:13:40 AM:
11:13:40 AM: - watchers.js:165 FSWatcher.start
11:13:40 AM: internal/fs/watchers.js:165:26
11:13:40 AM:
11:13:40 AM: - nodefs-handler.js:38 createFsWatchInstance
11:13:40 AM: [repo]/[chokidar]/lib/nodefs-handler.js:38:15
11:13:40 AM:
11:13:40 AM: - nodefs-handler.js:81 setFsWatchListener
11:13:40 AM: [repo]/[chokidar]/lib/nodefs-handler.js:81:15
11:13:40 AM:
11:13:40 AM: - nodefs-handler.js:233 FSWatcher.NodeFsHandler._watchWithNodeFs
11:13:40 AM: [repo]/[chokidar]/lib/nodefs-handler.js:233:14
11:13:40 AM:
11:13:40 AM: - nodefs-handler.js:262 FSWatcher.NodeFsHandler._handleFile
11:13:40 AM: [repo]/[chokidar]/lib/nodefs-handler.js:262:21
11:13:40 AM:
11:13:40 AM: - nodefs-handler.js:495 FSWatcher.<anonymous>
11:13:40 AM: [repo]/[chokidar]/lib/nodefs-handler.js:495:21
11:13:40 AM: