org-page icon indicating copy to clipboard operation
org-page copied to clipboard

Implement auto-republishing of changed files in preview

Open smaximov opened this issue 8 years ago • 1 comments

This PR adds a new interactive command op/do-publication-and-preview-watch. It does two things:

  • publishes the site and starts preview (basically, calls op/do-publication-and-preview-site);
  • starts watching the repository for changes. When any of watched files change, a watch handler publishes it again.

To remove all watch handlers, one should use command op/stop-all-watches.

smaximov avatar Apr 15 '16 09:04 smaximov

This feature can be used to implement live reloading.

smaximov avatar Apr 15 '16 09:04 smaximov