hammerspoon.github.io
hammerspoon.github.io copied to clipboard
docs(fix): update to a cleaner fancy reload
The updated version simplifies the code by using hs.configdir, ipairs, and pattern matching, calling hs.reload() immediately upon finding a matching .lua file. In contrast, the original version manually constructs the path, iterates with pairs, and sets a flag to reload after checking all files.