src/vs/platform/files/node/watcher/parcel/parcelWatcher.ts/ParcelWatcher/filterEvents
class ParcelWatcher:	private filterEvents(events: IDiskFileChange[], request: IRecursiveWatchRequest, rootDeleted: boolean): IDiskFileChange[] {
		if (!rootDeleted) {
			return events;
		}

		return events.filter(event => {
			if (event.path === request.path && event.type === FileChangeType.DELETED) {
				// Explicitly exclude changes to root if we have any
				// to avoid VS Code closing all opened editors which
				// can happen e.g. in case of network connectivity
				// issues
				// (https://github.com/microsoft/vscode/issues/136673)
				return false;
			}

			return true;
		});
	}