chore(watchers): refactor events and make debouncer safe
- fs poll -> fs events - make debouncer safe and fix diagnostics events
This commit is contained in:
committed by
GitHub
parent
26512c369f
commit
06e48c29c4
@@ -10,7 +10,7 @@ local first_init_done = false
|
||||
|
||||
function M.init(foldername)
|
||||
if TreeExplorer then
|
||||
TreeExplorer:_clear_watchers()
|
||||
TreeExplorer:destroy()
|
||||
end
|
||||
TreeExplorer = explorer.Explorer.new(foldername)
|
||||
if not first_init_done then
|
||||
|
||||
Reference in New Issue
Block a user