Class: Guard::ForgeAssets
- Inherits:
-
Guard
- Object
- Guard
- Guard::ForgeAssets
- Defined in:
- lib/guard/forge/assets.rb
Instance Method Summary collapse
-
#initialize(watchers = [], options = {}) ⇒ ForgeAssets
constructor
A new instance of ForgeAssets.
-
#run_all ⇒ Object
Called on Ctrl-\ signal This method should be principally used for long action like running all specs/tests/…
-
#run_on_change(paths) ⇒ Object
Called on file(s) modifications.
- #start ⇒ Object
Constructor Details
#initialize(watchers = [], options = {}) ⇒ ForgeAssets
Returns a new instance of ForgeAssets.
7 8 9 |
# File 'lib/guard/forge/assets.rb', line 7 def initialize(watchers=[], ={}) super end |
Instance Method Details
#run_all ⇒ Object
Called on Ctrl-\ signal This method should be principally used for long action like running all specs/tests/…
18 19 20 21 22 |
# File 'lib/guard/forge/assets.rb', line 18 def run_all UI.info "Rebuilding all assets" ::Forge::Guard.builder.clean_images ::Forge::Guard.builder.build_assets end |