From 642b4582d750acd19f9c3bea158b6491707d9e72 Mon Sep 17 00:00:00 2001 From: dlond Date: Fri, 30 May 2025 05:42:51 +1200 Subject: [PATCH] debugging watcher --- lua/custom/plugins/lsp/clangd.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/custom/plugins/lsp/clangd.lua b/lua/custom/plugins/lsp/clangd.lua index 05acdc68..16a2af75 100644 --- a/lua/custom/plugins/lsp/clangd.lua +++ b/lua/custom/plugins/lsp/clangd.lua @@ -101,9 +101,9 @@ function M.watch_compile_commands(dir) local watch_path = dir or vim.fn.getcwd() local watch_file = watch_path .. '/compile_commands.json' - if not vim.fn.filereadable(watch_file) then - return - end + -- if not vim.fn.filereadable(watch_file) then + -- return + -- end watcher = uv.new_fs_event() watcher:start(