Revert "Fix"

This reverts commit 1c401ac21c.
This commit is contained in:
Fedor Korotkiy 2021-04-16 19:23:30 +03:00
parent 1c401ac21c
commit 288fa5b156

View file

@ -93,12 +93,14 @@ func findChangedTasks(d Deadlines, files []string) []string {
_, task := d.FindTask(components[0])
if task != nil {
tasks[task.Name] = struct{}{}
continue
}
for _, task := range d.Tasks() {
for _, path := range task.Watch {
if components[0] == path {
tasks[task.Name] = struct{}{}
continue
}
}
}