Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not download dependencies if not needed #988

Closed
victornoel opened this issue Oct 13, 2016 · 1 comment
Closed

Do not download dependencies if not needed #988

victornoel opened this issue Oct 13, 2016 · 1 comment

Comments

@victornoel
Copy link
Contributor

Do you want to request a feature or report a bug?
feature

What is the current behavior?
If I have a fully populated node_modules (with respect to the lockfile) and my cache is empty, if I call yarn --pure-lockfile, yarn will download the dependencies to the cache even though they already are in my node_modules.

What is the expected behavior?
If there is no need to install a new package to node_modules, then yarn should not download it to the cache.

Why?
It is related to #986 in a way: I want to avoid downloading packages when it is not needed.

Please mention your node.js, yarn and operating system version.
yarn v0.15.1, node v6.7.0 and linux

@bestander
Copy link
Member

Fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants