Skip to content

Remove extra @parcel/watcher binaries in postinstall script #4702

@jsjoeio

Description

@jsjoeio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreRelated to maintenance or clean up

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions