Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: osx hide-bazel-files issue with fsevents
// Not sure how but the following was observed on OSX: // `Error: ENOENT: no such file or directory, lstat // '/private/var/folders/0l/nj_q9kzj49gdz1w6f5v9tw3h0000gn/T/tmp-49206kt9HWV3A8daE/node_modules/fsevents'` // It seems that there are filesystem race conditions on OSX; this may be related // to the general flakes we are seeing on OSX which show up on buildkite quite a bit. // In the above case my `fsevents` install failed because of `gyp: No Xcode or CLT version // detected!` so my guess is that as this is a optional dependency, there was a transient // `node_modules/fsevents` folder which was removed but somehow still picked up by // `fs.readdirSync` above. But since that folder was removed fs.lstatSync throws. // TODO(gregmagolan): get to the bottom of the filesystem issues on OSX
- Loading branch information