-
Notifications
You must be signed in to change notification settings - Fork 43
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
heartbeats are ignored for files loaded over tramp #27
Comments
Don't want to read a remote file every time a heartbeat is sent, for performance reasons. Could we pass wakatime-cli a local temporary file along with the "real path" of that file? |
Bumping this just to show there's still interest in this. |
How about this solution:
The change to wakatime-cli is trivial, I just don't know where tramp stores it's local copy of a remote file. |
Looks like tramp uses https://github.com/jwiegley/tramp/blob/master/lisp/tramp.el#L628 |
I've just tested that on a few mechanisms, and |
Related to wakatime/wakatime-cli#623, which added support for |
Still having this issue using tramp on doom emacs |
Wakatime does not appear to keep track of time spent in files loaded from remote machines via tramp.
For example, if I visit a file like "/ssh:remotehostname:/home/user/example.conf", then this appears in the log:
That file does exist, but I don't think that wakatime realizes that it's on a remote machine.
Perhaps it should be testing for file existence at all.
The text was updated successfully, but these errors were encountered: