hammerspoon2-docs
    Preparing search index...

    Function configurationWatcher

    • Creates a watcher that fires a callback when System Configuration dynamic store keys change. Call setKeys() to specify which keys (or patterns) to watch, setCallback() to register the handler, then start() to begin monitoring. The module automatically stops and destroys all watchers on hs.reload().

      Returns HSNetworkConfigurationWatcher

      A new HSNetworkConfigurationWatcher object.