mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #13763 from meteor/mac-error
Skip error saying events were dropped since watcher still is alive
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user