def start_watching
      start_original
      Kernel.loop do
        if @files.find { |file| FileTest.exist?(file) && File.stat(file).mtime > @time }
          puts 'reloading sketch...'
          Processing.app && Processing.app.close
          java.lang.System.gc
          @time = Time.now
          start_runner
          reload_files_to_watch
        end
        sleep SLEEP_TIME
      end
    end
def start_watching
      start_original
      Kernel.loop do
        if @files.find { |file| FileTest.exist?(file) && File.stat(file).mtime > @time }
          puts 'reloading sketch...'
          Processing.app && Processing.app.close
          java.lang.System.gc
          @time = Time.now
          start_runner
          reload_files_to_watch
        end
        sleep SLEEP_TIME
      end
    end
Kicks off a thread to watch the sketch, reloading JRubyArt
 and restarting the sketch whenever it changes.