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
In the Docker Desktop Learning Center tutorials, it says (as step 7) to run
docker compose watchand then alter line 18 ofapp/views/todos.ejsto 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 ofcompose.yamlseems to fix this: