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

bower update unconditionally reinstalls all packages #1770

Closed
nschloe opened this issue Apr 8, 2015 · 1 comment
Closed

bower update unconditionally reinstalls all packages #1770

nschloe opened this issue Apr 8, 2015 · 1 comment

Comments

@nschloe
Copy link

nschloe commented Apr 8, 2015

When trying to get caching on travis to work for my front-end packages, I found that bower update doesn't do what I expected it to do, namely to

  1. Check which packages and versions are installed under bower_components and
  2. Update the ones that don't match the specs in bower.json.

Instead, what happens is that all packages are overridden by whatever is specified in bower.json, no matter if they are up-to-date or not. This results in our travis tests taking 30% longer than necessary.

Any comments, opinions, hints here?

@sheerun
Copy link
Contributor

sheerun commented Apr 8, 2015

That's one of the oldest open issues bower has: #256

This behavior needs to be tested and fixes, but we don't have resources to do so.

Feel free to help and send PR with fix :)

A failing test for this behavior can be added to:
https://github.com/bower/bower/blob/master/test/commands/update.js

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

No branches or pull requests

2 participants