Skip to content

docker compose watch doesn't reflect changes as per tutorial #41

@golemB

Description

@golemB

In the Docker Desktop Learning Center tutorials, it says (as step 7) to run docker compose watch and then alter line 18 of app/views/todos.ejs to see a live change. However, that doesn't work.

After a quick look at docs, I found that adding this to the develop: watch: section of compose.yaml seems to fix this:

        - path: ./app/views
          target: /usr/src/app/views
          action: rebuild

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions