Skip to content

Not Watching /src/{content,static,themes} #68

@so87

Description

@so87
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions