rharriso / bower-rails

Bundler-like DSL + rake tasks for Bower on Rails
MIT License
1.46k stars 128 forks source link

bower install after bower clean #130

Open fredericgrati opened 9 years ago

fredericgrati commented 9 years ago

I would like to delete and re-install my bower components each time I precompile my assets.

I have the following bower_rails.rb

BowerRails.configure do |bower_rails|
  bower_rails.install_before_precompile = true
  bower_rails.resolve_before_precompile = true
  bower_rails.clean_before_precompile = true
end

The problem is that bower_rails install the components before delete them. Is it possible to clean before install them ?

SergeyKishenin commented 9 years ago

Maybe you need some kind of reinstall_before_precompile, which will uninstall then install components, option which is not implemented yet. But you can always provide a pull request implementing this feature!