Fix dependency issue

* Fix Process() object calling
* Add PokeParent() to poke upwards
* Break linear exec chains :(

This was the issue where in a graph f1 -> f2, if you were to rm f2 &&
cat f2, then f2 would not come back because we didn't poke upwards to
refresh the timestamp. Unfortunately this adds another bug which we
solve in a later patch.
This commit is contained in:
James Shubin
2016-01-11 16:20:32 -05:00
parent 48eddc3721
commit c57946e29b
6 changed files with 83 additions and 18 deletions

View File

@@ -235,7 +235,7 @@ func (obj *FileType) Watch() {
// do all our event sending all together to avoid duplicate msgs
if send {
send = false
obj.Process(obj) // XXX: rename this function
Process(obj) // XXX: rename this function
}
}
}