~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
1 year, 11 months ago
Updated
1 year, 4 months ago
Labels
hyperdrive.el

~ushin 1 year, 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 1 year, 5 months ago

~ushin 1 year, 4 months ago

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

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