$stdout.sync = true require 'guard' require 'guard/guard' module Guard class Assets < Guard def start UI.info "Guard::Assets is running." run end def run_all run end def reload run end def run_on_change(paths) puts "change: #{paths.inspect}" run end private def run started = Time.now print 'Compiling ... ' system 'bundle exec rakep' puts "done (#{(Time.now - started).round(2)}s)." end end end