Skip to content

Commit

Permalink
Notify of event type/path in debug mode. closes mynyml#9
Browse files Browse the repository at this point in the history
  • Loading branch information
mynyml committed Jul 5, 2010
1 parent 77bd4cc commit c0ce0ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/watchr/controller.rb
Expand Up @@ -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)
Expand Down

0 comments on commit c0ce0ec

Please sign in to comment.