Sha256: 83d975dafb10b2d72142fbb16f730c36ade879912dcc461c5819402ab3150966
Contents?: true
Size: 595 Bytes
Versions: 12
Compression:
Stored size: 595 Bytes
Contents
module Guard class Config < ::Guard::Plugin def initialize(options={}) @builder = Marv::Project::Guard.builder super end # This method should be mainly used for "reload" def reload UI.info "Reloading project config" @builder.build_project end # Runs on all command in guard console def run_all UI.info "Reloading project config" @builder.build_project end # Called on file(s) modifications def run_on_change(paths) UI.info "Project config changed, reloading" @builder.build_project end end end
Version data entries
12 entries across 12 versions & 1 rubygems