Duplicated injection commands #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
purplebear/smli-rs#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The reload definitions command gets injected twice (sometimes). I need to figure out if this is due to a thread from previous instance not getting killed or the event actually getting triggered twice.
this turned out to be an event getting triggered twice, because we watch the file and its parent directory. the latter is needed due to diverging editor behaviour when saving, but it turns out that the former isnt. we can skip watching the file directly and watch parent folder only. this generates only one event reliably. handled in commit 28ee90aeea