src/vs/platform/files/node/watcher/nsfw/nsfwWatcherService.ts/NsfwWatcherService/constructor
class NsfwWatcherService:	constructor() {
		super();

		process.on('uncaughtException', (e: Error | string) => {
			// Specially handle ENOSPC errors that can happen when
			// the watcher consumes so many file descriptors that
			// we are running into a limit. We only want to warn
			// once in this case to avoid log spam.
			// See https://github.com/microsoft/vscode/issues/7950
			if (e === 'Inotify limit reached' && !this.enospcErrorLogged) {
				this.enospcErrorLogged = true;
				this.error('Inotify limit reached (ENOSPC)');
			}
		});
	}