```ruby
module Octodown
  module Support
    module Services
      class Riposter
        def self.call(file, &listener_callback)
          require 'listen'

          path = File.dirname(File.expand_path(file.path))
          regex = Regexp.new(file.path)

          @listener ||= Listen.to(path, only: regex) do
            listener_callback.call
          end

          @listener.start
        end
      end
    end
  end
end
```

Fix regex from listen :only
user
```ruby
module Octodown
  module Support
    module Services
      class Riposter
        def self.call(file, &listener_callback)
          require 'listen'

          path = File.dirname(File.expand_path(file.path))
          regex = Regexp.new("^#{File.basename(file.path)}$")

          @listener ||= Listen.to(path, only: regex) do
            listener_callback.call
          end

          @listener.start
        end
      end
    end
  end
end
```
assistant