docker-hugo
docker-hugo copied to clipboard
Not Watching /src/{content,static,themes}
-
Content displays just fine
-
using your docker-compose setup. Volumes work file. I can change in docker container, and files show up on host
-
Set environment:
- HUGO_WATCH=true
-
When I make changes to {content,static,themes} nothing happens.
-
Below is my docker-compose version: '3.1'
services: web: image: jojomi/hugo:0.55.0 environment: - HUGO_WATCH=true - HUGO_REFRESH_TIME=10 - HUGO_THEME=beautifulhugo - HUGO_BASEURL=localhost volumes: - ${PWD}/src:/src - ${PWD}/output/:/output ports: - "1313:1313" restart: always nginx: image: jojomi/nginx-static volumes: - ${PWD}/output:/var/www ports: - "8080:80" restart: always