appsody / controller

Appsody controller running in the development container. This repo will be archived soon.
https://appsody.dev
Apache License 2.0
2 stars 12 forks source link

File Watcher can not see cached volumes changes #35

Closed kewegner closed 4 years ago

kewegner commented 5 years ago

If one makes a change in the DEPS directory it is not seen by the watcher.

At this moment all DEPS directory related changes are to be IGNORED in existing stacks, however, this may change in new stacks in the future.

It is not known what the root cause of this is ATM.

kylegc commented 5 years ago

Do you think this has anything to do with the inotify stuff the codewind people were talking about?

kewegner commented 5 years ago

I am not sure, but since we don't use directly us inotify in the watcher code, I don't think so. Unless something in golang is using it under the covers. It seems like the watcher code is basically listing all files and then looking at their attribute timestamps, as opposed to being notified by the file system.

kewegner commented 4 years ago

Update: I have been able to see changes for nodejs-express in the /project/user-app/node_modules directory with a modified set up.

I will continue to investigate.

kewegner commented 4 years ago

I do not believe this is an issue. I reviewed the remaining stacks, I think if it works for nodejs-express it should not be a problem with the others.