def setup_watcher
      this = self
      Handler.send(:define_method, :app) do
        this
      end

      @@load_paths.each do |name, path|
        Dir["#{self.app_path}/#{path}"].each do |f|
          EM.watch_file(f, Handler)
        end
      end
    end
def setup_watcher
      this = self
      Handler.send(:define_method, :app) do
        this
      end

      @@load_paths.each do |name, path|
        Dir["#{self.app_path}/#{path}"].each do |f|
          EM.watch_file(f, Handler)
        end
      end
    end
Watch for any file changes in the load paths.