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:
tried that and several more options, like specifying the exact file, adding nodemon as start comand, f5, shift ctrl r, and couldn't seem to make it work, gpt started tripping so hard, so i may try later
In the Docker Desktop Learning Center tutorials, it says (as step 7) to run
docker compose watch
and then alter line 18 ofapp/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 ofcompose.yaml
seems to fix this: