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?
Consider respecting global-auto-revert-non-file-buffers
See: [[info:emacs#Non-File Buffers][emacs#Non-File Buffers]]
You can watch for changes to a directory with drive.watch.