#!/usr/bin/env ruby

require 'listen'
require 'listen/cli'

unless defined?(JRUBY_VERSION)
  if Signal.list.keys.include?('INT')
    Signal.trap('INT') { Thread.new { Listen.stop } }
  end
end

Listen::CLI.start
