Svitlana
Svitlana

Reputation: 2374

Bower does not sync dist folder in project dependencies?

When I synchronize bower components via github my bower_components apps is missing dist folders and the only solution is to uninstall package and install it again.

Is it any way to build all dependencies project and got those folders?

I know that maybe removing bower_components from .gitignore is not the best approach but I try to involve my sister in development and she always has issues running a project.

I would appreciate any help.

Thank you

Upvotes: 2

Views: 1211

Answers (2)

Bill Butler
Bill Butler

Reputation: 489

Well,

I wanted to comment on drorb's post but apparently I don't have much of a rep :) You rock. nodejitsu looks at .gitignore and I was commenting out dist instead of /dist. It was essentially ignoring files that were within and bower_component that had a /dist/ directory.

Upvotes: 2

Dror Bereznitsky
Dror Bereznitsky

Reputation: 20376

From the info in the comments it looks like your .gitignore file is causing git to ignore the dist directories.
I suggest reading Checking in front-end dependencies before deciding whether to commit your bower_components to git.

Upvotes: 3

Related Questions