Problem
In October 2021, VS Code switched to using @parcel/watcher as their main file watcher. @parcel/watcher publishes all native binaries in their npm package. We had to fix this for the 4.0.1 release on homebrew. However the better fix would be to fix this for all platforms by moving this logic to our postinstall script.
Solution
Add function in postinstall script to remove extra binaries based on architecture. (probably leverage helper functions in lib.sh).
Related