Hammerspoon / Hammerspoon/Spoons
EmmyLua: many reloads when FileWatcher is defined before
Open
- Dominant language
- Lua
- Stars
- 567
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### What i see
when EmmyLua is defined after a FileWatcher is defined then writing files while creating the annotations trigger a reload.
### What i expect
no multiple reloads
### Possible solutions
short term easy solution:
- add info in description that the EmmyLua should created before any FileWatcher checking it lua files are changed or created
long term:
- look for active FileWatcher and disable them - but this can have sideeffects
- change the init to a start and add a parameter for filewatchers to disable
but i would stick to the easy solution now.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.