#!/usr/bin/env ruby # frozen_string_literal: true require 'listen' require 'listen/cli' if !defined?(JRUBY_VERSION) && Signal.list.keys.include?('INT') Signal.trap('INT') { Thread.new { Listen.stop } } end Listen::CLI.start