debugging watcher

This commit is contained in:
dlond 2025-05-30 05:42:51 +12:00
parent 3c60b5c149
commit 642b4582d7
1 changed files with 3 additions and 3 deletions

View File

@ -101,9 +101,9 @@ function M.watch_compile_commands(dir)
local watch_path = dir or vim.fn.getcwd() local watch_path = dir or vim.fn.getcwd()
local watch_file = watch_path .. '/compile_commands.json' local watch_file = watch_path .. '/compile_commands.json'
if not vim.fn.filereadable(watch_file) then -- if not vim.fn.filereadable(watch_file) then
return -- return
end -- end
watcher = uv.new_fs_event() watcher = uv.new_fs_event()
watcher:start( watcher:start(