carvel-dev / kwt

Kubernetes Workstation Tools CLI
Apache License 2.0
157 stars 12 forks source link

--watch not receiving new files nor updates to existing files #6

Closed drnic closed 5 years ago

drnic commented 5 years ago

I tried out --watch:

$ kwt workspace create --rm --enter --input app=. --watch

I modified a preexisting file locally but did not see the changes inside the container.

I created a new file locally but did not see the file created inside the container.

Protips for using --watch or debugging?

cppforlife commented 5 years ago

i think it's because of the --enter part. --enter makes kwt exec into another process so it cannot do anything else. only way to fix this would be to change --enter to run a child process and process stdin/err/out.

cppforlife commented 5 years ago

@drnic should be fixed in 0.0.5