http://asciidoctor.org
Automatically refresh asciidoctor files when updated: fswatch -0 <adoc-file> | xargs -0 -n 1 -I {} ./asciidoctor-diagram.sh {} where asciidoctor-diagram.sh is: #!/bin/bash asciidoctor -r asciidoctor-diagram $@
fswatch -0 <adoc-file> | xargs -0 -n 1 -I {} ./asciidoctor-diagram.sh {}
#!/bin/bash
asciidoctor -r asciidoctor-diagram $@