lib/gitdocs.rb in gitdocs-0.1.2 vs lib/gitdocs.rb in gitdocs-0.1.3
- old
+ new
@@ -11,9 +11,10 @@
module Gitdocs
def self.run(config_root = nil, debug=false)
loop do
@config = Configuration.new(config_root)
+ puts "Gitdocs v#{VERSION}" if debug
puts "Using configuration root: '#{@config.config_root}'" if debug
puts "Watch paths: #{@config.paths.join(", ")}" if debug
@threads = @config.paths.map do |path|
t = Thread.new { Runner.new(path).run }
t.abort_on_exception = true