Sha256: e933bdc8b052cd102827f4d8404c763a03f9bcf21a2939a1241f83aba66fff5f
Contents?: true
Size: 646 Bytes
Versions: 1
Compression:
Stored size: 646 Bytes
Contents
require 'guard' require 'guard/guard' module Guard class Config < ::Guard::Guard def initialize(watchers=[], 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
marv-0.4.0 | lib/marv/project/guard/config.rb |