File update in shared folder does not trigger inotify on Ubuntu
|Reported by:||unbi||Owned by:|
|Guest type:||other||Host type:||other|
I'm using virtualbox 4.1.16 and latest guest addition.
My Host is Windows 7 and Guest is Ubuntu 11.10
I have a shared folder which its files suppose to be "watched" for changes from the Ubuntu machine by a node.js application - grunt:https://github.com/cowboy/grunt
the "watch" functionality in node.js is based on inotify:http://nodejs.org/api/fs.html#fs_fs_writefilesync_filename_data_encoding
for some reason, when i update a file in the shared folder from within the win host the Ubuntu guest does not triggers a file change.
i know its not a bug within node.js app since when i use: touch filename.js command in the ubuntu cmd the watch function works.
plus i saw someone else suffer from this kind of bug in different ruby application check it out on this url:https://github.com/guard/guard/issues/269
your help is highly appreciated!