~ushin/ushin#52: 
Automatically `revert-buffer` when file changes

We want auto-revert-mode-like behavior, where a buffer automatically reverts when the underlying hyperdrive file is updated. It's probably too complicated to make hyper-gateway notify hyperdrive.el whenever a file changes.

Perhaps we can call revert-buffer in certain hooks? Which hooks would make sense?

Status
REPORTED
Submitter
~ushin
Assigned to
No-one
Submitted
a year ago
Updated
5 months ago
Labels
hyperdrive.el

~ushin 9 months ago

Consider respecting global-auto-revert-non-file-buffers

See: [[info:emacs#Non-File Buffers][emacs#Non-File Buffers]]

~ushin referenced this from #127 5 months ago

~ushin 5 months ago

You can watch for changes to a directory with drive.watch.

Register here or Log in to comment, or comment via email.