diff --git a/9router/next.config.mjs b/9router/next.config.mjs index 164c60d0..909eaafd 100644 --- a/9router/next.config.mjs +++ b/9router/next.config.mjs @@ -21,14 +21,10 @@ const nextConfig = { // back on themselves and cause `EPERM: operation not permitted, scandir` // on GitHub Actions runners (cascades into FlightClientEntryPlugin // crash). Local Windows users with normal accounts don't hit this. + // Single regex (webpack rejects mixed regex + glob strings in array). config.watchOptions = { ...config.watchOptions, - ignored: [ - /[\\/](logs|\.next)[\\/]/, - '**/Application Data/**', - '**/Local Settings/**', - '**/AppData/Local/Application Data/**', - ], + ignored: /[\\/](logs|\.next|Application Data|Local Settings)[\\/]/, }; // Disable webpack's user-profile + node_modules snapshotting that // triggers the same EPERM scan during `next build` on CI Windows.