xcode - GCD file monitoring - parent folder(s) changes? -


i'm using gcd method of monitoring files changes. seems work fine , notifications file writes, deletes, renames, etc.

question have - how's right way approach changes parent folders monitored file?

ex: want monitor abc.txt

  • currently in path \path\to\something\abc.txt
  • user renames folder something something_else
  • file lives in \path\to\something_else\abc.txt

i don't notifications when parent folder(s) renamed or moved because i'm not monitoring them. missing obvious or need actively monitor entire set of folders in hierarchy parent changes impact file handled appropriately?

any words of wisdom appreciated

i don't think gcd can that. you'll have go lower-level, fsevents.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -