-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[suggestion] improved watch stop #15
Comments
This would also allow for an autocommand that would stop markmap-cli when the served buffer is closed. |
This is the expected behavior, and the simple solution is to just increase the default But if you see it's not gonna increase complexity too much and want to send a PR go for it. It is a cool feature. |
I just wanted to check, if it's cool with you. I'll see what I can do in terms of a PR. 🚀 |
See #16 |
@Zeioth I wonder if it would make sense, instead of tracking the last execution over a grace period to rather capture the buffer that is currently served and monitor the last write time. Then go and reset the grace period when the buffer was recently written, as one could assume that you are still working on the document. I haven't looked up what the default grace period is but serving just randomly stopped after ~1h when I was still editing the document.
The text was updated successfully, but these errors were encountered: