parent
1c401ac21c
commit
288fa5b156
1 changed files with 2 additions and 0 deletions
|
@ -93,12 +93,14 @@ func findChangedTasks(d Deadlines, files []string) []string {
|
||||||
_, task := d.FindTask(components[0])
|
_, task := d.FindTask(components[0])
|
||||||
if task != nil {
|
if task != nil {
|
||||||
tasks[task.Name] = struct{}{}
|
tasks[task.Name] = struct{}{}
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, task := range d.Tasks() {
|
for _, task := range d.Tasks() {
|
||||||
for _, path := range task.Watch {
|
for _, path := range task.Watch {
|
||||||
if components[0] == path {
|
if components[0] == path {
|
||||||
tasks[task.Name] = struct{}{}
|
tasks[task.Name] = struct{}{}
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue