gitdoc icon indicating copy to clipboard operation
gitdoc copied to clipboard

GitDoc doesn't commit & push on save/close

Open notthebee opened this issue 4 years ago • 3 comments

First of all, thanks for this amazing extension! It's perfect for my purposes, despite some issues which I want to share.

In my experience, GitDoc doesn't push on every commit, it seemingly does it every 30s despite what I set in the settings. This is suboptimal, since I'd like it to push every time I save the file.

It also doesn't always pull on open – most of the time I have to wait for some time until the changes get pulled. I've tried editing config.json manually, but unfortunately, that doesn't work either

notthebee avatar Apr 02 '21 09:04 notthebee

have you found any solution?

usamaehsan avatar Dec 07 '22 10:12 usamaehsan

GitDoc has a hook that runs when VS Code attempts to close, but I'm not sure if it's getting called realiably :/ I'll try to look into it again this week and see if I can figure out a way to make this week.

In the meantime, I think that enabling auto-push on a delay is the most reliable solution.

lostintangent avatar Dec 27 '22 16:12 lostintangent