joh/when-changed

when-changed doesn't work on AWS EFS?

Opened this issue · 1 comments

I am trying to watch for changes in a file that is in an AWS Elastic File System, however, I noticed that when-changed completely doesn't work on files hosted there.

Similarly, incron doesn't work on these files or directories as well.

Is there any specific reason why it doesn't work or a workaround to get it to work?

Thanks

joh commented

when-changed uses watchdog to watch files for changes, so I suspect there's an issue with watchdog and AWS EFS. Could you try the watchmedo utility to see if it triggers any events on the files hosted on AWS EFS?