diff --git a/lua/overseer/dap.lua b/lua/overseer/dap.lua index ab8d853..9bf3ff6 100644 --- a/lua/overseer/dap.lua +++ b/lua/overseer/dap.lua @@ -58,8 +58,9 @@ M.listener = function(config) string.format("DAP preLaunchTask '%s' failed", config.preLaunchTask), vim.log.levels.ERROR ) + else + coroutine.resume(co) end - coroutine.resume(co) end local function on_complete(_, status)