Navigation Menu

Skip to content

Commit

Permalink
Support file doesn't exist case
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 24, 2014
1 parent f15dfd6 commit 28c2946
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/droonga/file_observer.rb
Expand Up @@ -59,7 +59,8 @@ def stop

private
def updated?
@path.exist? and @path.mtime > @mtime
return false unless @path.exist?
@mtime.nil? or @path.mtime > @mtime
end

def log_tag
Expand Down

0 comments on commit 28c2946

Please sign in to comment.