tokuhirom/App-watcher — pull request #5 by addsict (2014-12-14 13:54:24+00:00)
Title: Fix to validate with relative file path

I think the subroutine `valid_file` should validate a file with relative path for considering following situation.

Given that `/home/myuser/.ghq/myuser/repo/` is working directory and I launch `watcher` at that point,
current `watcher` implementation judges `/home/myuser/.ghq/myuser/repo/test.pl` as invalid file path
because the directory starts with "dot" exists in the path, in despite of it's located in upper directory.

This pull request is intended to fix the above situation by validating with relative file path.