We want to watch directories recursively for extensions, but not for
user scripts. So ideally, we'd like it to be an option. If I had to
choose one, I'd say I want recursive, because it's more important to
have extensions work well than to have the user script directory not
work as well.
- a
On
I think we can simplify code in another way: if the recursive watch
doesn't have to add watches for newly created directories in the subtree and
remove watches for deleted dirs (so we just scan the subtree when adding
initial watch, and don't react to dorectory structure changes), then the
code is