Method: Guard::ForgeFunctions#run_on_change

Defined in:
lib/guard/forge/functions.rb

#run_on_change(paths) ⇒ Object

Called on file(s) modifications



25
26
27
28
29
30
31
# File 'lib/guard/forge/functions.rb', line 25

def run_on_change(paths)
  UI.info "Functions have changed, copying over"
  ::Forge::Guard.builder.clean_functions
  ::Forge::Guard.builder.copy_functions
  ::Forge::Guard.builder.clean_includes
  ::Forge::Guard.builder.copy_includes
end