feat(watcher): partial git refresh (#1373)

This commit is contained in:
Alexander Courtis
2022-06-27 11:12:28 +10:00
committed by GitHub
parent 247f80b633
commit 7a795d78fa
3 changed files with 24 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ local M = {}
local function reload_and_get_git_project(path)
local project_root = git.get_project_root(path)
git.reload_project(project_root)
git.reload_project(project_root, path)
return project_root, git.get_project(project_root) or {}
end