Module: Guard::CoffeeScript::Runner
- Defined in:
- lib/guard/coffeescript/runner.rb
Class Method Summary collapse
Class Method Details
.run(files, watchers, options = {}) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/guard/coffeescript/runner.rb', line 8 def run(files, watchers, = {}) notify_start(files, ) changed_files, errors = compile_files(files, , watchers) notify_result(changed_files, errors) changed_files rescue ::CoffeeScript::EngineError => e ::Guard::UI.error "CoffeeScript engine error: " + e. end |