From e45f165ed4bda2dff363b56bbfe91a6d160fd7ba Mon Sep 17 00:00:00 2001 From: Manuel Gerstner Date: Thu, 19 Mar 2015 00:56:28 +0100 Subject: [PATCH] Remove tmp path issues --- runner/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/utils.go b/runner/utils.go index 93096ff..b7368e6 100644 --- a/runner/utils.go +++ b/runner/utils.go @@ -27,7 +27,7 @@ func isWatchedFile(path string) bool { absolutePath, _ := filepath.Abs(path) absoluteTmpPath, _ := filepath.Abs(tmpPath()) - if strings.HasPrefix(absolutePath, absoluteTmpPath) { + if strings.HasPrefix(absolutePath, absoluteTmpPath+"/") { return false }