Adds a hotkey to reload the hammerspoon configuration, and a pathwatcher to automatically reload on changes.
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/ReloadConfiguration.spoon.zip
| Signature | ReloadConfiguration.watch_paths |
|---|---|
| Type | Variable |
| Description | List of directories to watch for changes, defaults to hs.configdir |
| Source | Source/ReloadConfiguration.spoon/init.lua line 18 |
| Signature | ReloadConfiguration:bindHotkeys(mapping) |
|---|---|
| Type | Method |
| Description | Binds hotkeys for ReloadConfiguration |
| Parameters |
|
| Returns | |
| Source | Source/ReloadConfiguration.spoon/init.lua line 23 |
| Signature | ReloadConfiguration:start() |
|---|---|
| Type | Method |
| Description | Start ReloadConfiguration |
| Parameters |
|
| Returns | |
| Source | Source/ReloadConfiguration.spoon/init.lua line 35 |