Build on Alpine. Based on node-livereload
To use, add this to your docker-compose.yml
file:
livereload:
image: franckdelage/livereload
ports:
- "35729:35729"
volumes:
- /your/watch/directory:/usr/src/livereload-watch
It's possible to override the entrypoint
to tell livereload to watch more additional file extensions
livereload:
image: franckdelage/livereload
entrypoint: node bin/livereload.js /usr/src/livereload-watch -u true -d --exts 'phtml,sass'
--exts 'phtml,sass'
are additional file extentions. Check Livereload Command Options for more options.