improve: duplicate git exec in hmr of git changelog plugin #207
Labels
bug
Something isn't working
help wanted
Extra attention is needed
pkg/git-changelog
Related to @nolebase/vitepress-plugin-git-changelog
HMR 中重复的 Git 请求。
当前在 changelog.vue 中和 contributors.vue 中分别 send 了一次,这导致 Git 实际上被运行了两次(即使有设置的缓存,但是似乎因为两次执行的太近了,导致两次都是实际运行了 Git 的,从下面这个日志可以看出:
The text was updated successfully, but these errors were encountered: