The bower link feature makes it easy to change & test packages while using it as a dependency in other packages. If you are using Bower, you should be using this.
It helps resolve this common scenario:
- You developed
project-aandproject-b. project-busesproject-aviabower install project-a.- While working on
project-b, you need to make a change inproject-a.
Solution: Just tell Bower that the project-a dependency used in project-b is located in a symlink location – where you actually checked out project-a.
To do this:
- In
project-a, runbower linkto create a global link for the project - In
project-b, runbower link project-ato let Bower know that we should refer toproject-athrough the symlink.
That’s it. Simple & effective.