You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: watching.rb
    path of file: ./repos/pakyow/core/lib/pakyow/behavior
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require "core/watch"

require "pakyow/support/deprecatable"
require "pakyow/support/extension"

require_relative "running/ensure_booted"

module Pakyow
  module Behavior
    # Environment behavior 
    
          def perform
            ensure_booted do
              Pakyow.__filewatcher_changes.each do |matcher, blocks|
                blocks.each do |options|
                  @filewatcher.callback(matcher, &options[:block])
                end
              end

              Pakyow.__filewatcher_ignores.each do |path|
                @filewatcher.ignore(path)
              end

              Pakyow.__filewatcher_watches.each do |path|
                @filewatcher.watch(path)
              end
            end

            @filewatcher.start
          end