Class: Guard::Sprockets2
Defined Under Namespace
Classes: Compiler
Instance Method Summary collapse
-
#initialize(watchers = [], options = {}) ⇒ Sprockets2
constructor
A new instance of Sprockets2.
- #run_all ⇒ Object
- #run_on_change(paths = []) ⇒ Object
- #start ⇒ Object
Constructor Details
#initialize(watchers = [], options = {}) ⇒ Sprockets2
Returns a new instance of Sprockets2.
10 11 12 13 |
# File 'lib/guard/sprockets2.rb', line 10 def initialize(watchers = [], = {}) super @compiler = Compiler.new() end |
Instance Method Details
#run_all ⇒ Object
19 20 21 |
# File 'lib/guard/sprockets2.rb', line 19 def run_all compile_assets end |
#run_on_change(paths = []) ⇒ Object
23 24 25 |
# File 'lib/guard/sprockets2.rb', line 23 def run_on_change(paths = []) compile_assets end |
#start ⇒ Object
15 16 17 |
# File 'lib/guard/sprockets2.rb', line 15 def start compile_assets end |