Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
golemB opened this issue Jul 14, 2024 · 1 comment
Open

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

golemB opened this issue Jul 14, 2024 · 1 comment

Comments

@golemB
Copy link

golemB commented Jul 14, 2024

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
@Hachikoi-the-creator
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants