mirror of
https://github.com/go-task/task.git
synced 2025-03-17 21:08:01 +02:00
Ignore .hg for Mercurial, too (#1098)
This commit is contained in:
parent
a80da8b65c
commit
bdf7fb0858
3
watch.go
3
watch.go
@ -175,5 +175,6 @@ func (e *Executor) registerWatchedFiles(w *watcher.Watcher, calls ...taskfile.Ca
|
||||
}
|
||||
|
||||
func shouldIgnoreFile(path string) bool {
|
||||
return strings.Contains(path, "/.git") || strings.Contains(path, "/.task") || strings.Contains(path, "/node_modules")
|
||||
return strings.Contains(path, "/.git") || strings.Contains(path, "/.hg") ||
|
||||
strings.Contains(path, "/.task") || strings.Contains(path, "/node_modules")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user