Merge pull request #13763 from meteor/mac-error

Skip error saying events were dropped since watcher still is alive
This commit is contained in:
Nacho Codoñer
2025-05-23 15:10:09 +02:00
committed by GitHub

View File

@@ -301,6 +301,9 @@ async function ensureWatchRoot(dirPath: string): Promise<void> {
osDirPath,
(err, events) => {
if (err) {
if (/Events were dropped/.test(err.message)) {
return;
}
console.error(`Parcel watcher error on ${osDirPath}:`, err);
// Only disable native watching for critical errors (like ENOSPC).
// @ts-ignore