Minikube : watch for code changes in locally mounted folder

6/15/2018

I'm mounting a local folder into minikube and using that folder inside a pod. The folder contains the code I am developing. It works great but changes I make are not being reflected in the browser. If I exec into the pod I can see my code changes, just not in the browser.

If I delete the pod when it is automatically recreated the changes are reflected in the browser. Is this a limitation of the solution?

Can anybody please advise a novice?

-- prime
kubernetes
minikube

1 Answer

12/9/2018

Have a look at Skaffold — and its sync; it ensures your yaml files are running inside Minikube and ships files of your selection back and forth.

-- Henrik
Source: StackOverflow