hammerspoon2-docs
    Preparing search index...

    Function addVolumeWatcher

    • Create a new volume event watcher. Call setCallback() and start() on the returned object to begin receiving volume mount/unmount/rename events.

      Returns HSVolumeWatcher

      An HSVolumeWatcher object.