Skip to content

docs(fix): update to a cleaner fancy reload#41

Open
gowizzard wants to merge 1 commit intoHammerspoon:masterfrom
gowizzard:master
Open

docs(fix): update to a cleaner fancy reload#41
gowizzard wants to merge 1 commit intoHammerspoon:masterfrom
gowizzard:master

Conversation

@gowizzard
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant