This is a simple utility, intended to make my life easier when editing asciidoc.
It will watch a .asciidoc file compiling it to HTML and displaying the new version whenver the original .asciidoc file is changed.
This is very convenient in combination with a tiling window manager: half of the screen is a Vim session with the asciidoc source, the other half is the HTML result. The HTML is updated whenever the edits to the source file are saved.
It can also be used with plain HTML (.html) files, in which case it will not attempt to call asciidoc.
# ./qinotify README.asciidoc
- Why doesn’t this also include an editor?
Vim is better than anything I could come up with. Besides, Vim already exists.
Add a status bar (bottom, below HTML view) with last updated time.
Improved sizing policy for the error box
Add quit button (optional..)
Additional viewer support (i.e. for .sdedit PNGs)?