fix(watcher): only purge on subsequent setup calls, add git_purge log

This commit is contained in:
Alexander Courtis
2022-12-16 11:47:50 +11:00
parent 0cd8ac4751
commit 899ed45602
2 changed files with 9 additions and 9 deletions

View File

@@ -173,6 +173,7 @@ function M.load_project_status(cwd)
end
function M.purge_state()
log.line("git", "purge_state")
M.projects = {}
M.cwd_to_project_root = {}
end