Permalink
Browse files

Notify of event type/path in debug mode. closes #9

  • Loading branch information...
1 parent 77bd4cc commit c0ce0ec93820619d670983651bee1b8e1a1182b7 mynyml committed Jul 5, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/watchr/controller.rb
View
@@ -58,6 +58,7 @@ def run
def update(path, event_type = nil)
path = Pathname(path).expand_path
+ Watchr.debug("received #{event_type.inspect} event for #{path.relative_path_from(Pathname(Dir.pwd))}")
if path == @script.path
@script.parse!
@handler.refresh(monitored_paths)

0 comments on commit c0ce0ec

Please sign in to comment.