Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

EmmyLua: many reloads when FileWatcher is defined before #276

Open
muescha opened this issue Aug 8, 2022 · 1 comment
Open

EmmyLua: many reloads when FileWatcher is defined before #276

muescha opened this issue Aug 8, 2022 · 1 comment

Comments

@muescha
Copy link
Contributor

muescha commented Aug 8, 2022

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.

@muescha
Copy link
Contributor Author

muescha commented Aug 8, 2022

created PR #277 add info about pathwatcher to EmmyLua Spoon

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant