fixes #45: implement `cache` option for `traverseDependencies`

used in CLI when --watch is given