-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Do you want to request a feature or report a bug?
Bug.
What is the current behavior?
It seems that all native packages are rebuilt every time yarn is asked to either add a new package or just install the currently locked.
If the current behavior is a bug, please provide the steps to reproduce.
- Add some native packages.
yarn add leveldown bcrypt
- Run yarn again and observe that both of the packages will be rebuilt for no reason.
yarn
The same happens when adding a completely unrelated packages which, as far as I can tell, cannot affect the native packages in any way.
yarn add co
What is the expected behavior?
Native packages should not be rebuilt if there's no reason to do that. Note that #248 seems pretty similar.
Please mention your node.js, yarn and operating system version.
Node.js 6.7.0
Yarn 0.15.1
Ubuntu 12.04
repsac-by, SEAPUNK, n-rook, sod, christophehurpeau and 101 more