Sha256: 29ea4bb9f6db36ad64db3cc7377070b1ede8a3e85b2dc393828a6106ac23a7fc
Contents?: true
Size: 840 Bytes
Versions: 3
Compression:
Stored size: 840 Bytes
Contents
require "pry" require "guard" module Guard module Commands class Reload def self.import Pry::Commands.create_command "reload" do group "Guard" description "Reload all plugins." banner <<-BANNER Usage: reload <scope> Run the Guard plugin `reload` action. You may want to specify an optional scope to the action, either the name of a Guard plugin or a plugin group. BANNER def process(*entries) scopes, unknown = ::Guard.state.session.convert_scope(entries) unless unknown.empty? output.puts "Unknown scopes: #{ unknown.join(", ") }" return end ::Guard.async_queue_add([:guard_reload, scopes]) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
guard-2.10.5 | lib/guard/commands/reload.rb |
guard-2.10.4 | lib/guard/commands/reload.rb |
guard-2.10.3 | lib/guard/commands/reload.rb |