Hammerspoon / Spoons

The official repository of Spoon plugins
https://www.hammerspoon.org/Spoons/
450 stars 141 forks source link

EmmyLua: many reloads when FileWatcher is defined before #276

Open muescha opened 2 years ago

muescha commented 2 years ago

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:

long term:

but i would stick to the easy solution now.

muescha commented 2 years ago

created PR #277 add info about pathwatcher to EmmyLua Spoon