Skaffold syncs files but pod doesn't refresh Skaffold syncs files but pod doesn't refresh kubernetes kubernetes

Skaffold syncs files but pod doesn't refresh


It looks like no major error in the logs, my guess is that the files are actually being put in another directory. You can try running in the container.

find / -name "index.ts"

to see if that didn't land somewhere else.

Another thing to check is the WORKDIR value in your container(s). Check what directory you land on when you run:

kubectl exec -it -c <container-name> <pod-name>

✌️


For your start script try to add --poll. For example if you start script is "start" : "nodemon src/index.js", change it to "nodemon --poll src/index.js"