Ready-to-go docker environment for Asciidoctor livereload.
-
Put your
asc
files into/book
(or edit the volumes indocker-compose.yml
file). -
Build and launch docker-compose :
docker-compose build docker-compose up
-
Modify an
asc
file (to kickoff the ascidoctor watcher) ; -
open your browser at http://localhost:8941 ;
-
modify a file in your watched directory ;
-
Magic, the page is refreshed ! :o
Docker image (20Mo) which watch for modification into the /book
directory and run asciidoctor when modified.
Docker image (7Mo) which act as a reverse proxy for /output
and inject the livereload js snippet.
Docker image (16Mo) which watch for modification into the /output
directory and reload the page in the navigator.
- Asciidoctor Builder docker image cethy/alpine-asciidoctor-builder (on docker hub)
- Asciidoctor Watcher docker image cethy/alpine-asciidoctor-watcher (on docker hub)
cethy/apline-nginx-livereload-injection
added to remove dependency on the livereload extension.
- require livereload extension for your web browser to work.