Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions