znai icon indicating copy to clipboard operation
znai copied to clipboard

Support non inotify file watching mechanism for virtualization use cases

Open vmpn opened this issue 5 years ago • 2 comments

Host shared folders do not support inotify: https://www.virtualbox.org/ticket/10660 as a result znai preview mode does not work when run inside a VM when file is being modified on host

vmpn avatar Sep 03 '20 14:09 vmpn

do you think file change via polling should fix it? Wonder if I should add an option to znai to use polling as a preview trigger

MykolaGolubyev avatar Jul 02 '22 20:07 MykolaGolubyev

Yes, I believe periodic polling would work around the cases when inotify does not work, though it won't be as efficient

vmpn avatar Jul 02 '22 20:07 vmpn

closing for now as is not a wide spread use case

MykolaGolubyev avatar Jan 06 '23 17:01 MykolaGolubyev