Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
fixes #188
The current version of webpack that we're using has a bug that causes the tests to crashes on MacOS with some regularity. That is because it depends on chokidar 2 which uses the
fsevents
api which has a crictical bug on MacOS.Approach
This manually forces all modules to use chokidar 3 which does not use the
fsevents
module at all. The v3 API is apparently similar enough that webpack is able to use it as a drop-in replacement for v2. Howeve, it is worth noting that because this is technically a semver violation, it will cause a console warning every time ayarn install
is run.This resolution can be removed once an upgrade is made to webpack 5 or to a different depedency bundler like parcel or rollup.
Learning