Ready-to-go docker environment for Jekyll livereload.
-
Put your jekyll source files into
/source
(or edit the volumes indocker-compose.yml
file). -
Build and launch docker-compose :
docker-compose build docker-compose up -d
-
open your browser at http://localhost:8008 ;
-
modify a file in your watched directory ;
-
Magic, the page is refreshed ! :o
Docker image (21Mo) which watch for modification into the /source
directory and run jekyll when modified.
Docker image (7Mo) which act as a reverse proxy for _site
and inject the livereload js snippet.
Docker image (16Mo) which watch for modification into the /_site
directory and reload the page in the navigator.