I set up a vagrant vm with your vagrant notify-forwarder plugin, host is a Mac OS X (10.10.5), guest is debian jessie. In the vm there's an app running, waiting for some fs events by calling inotifywait => https://github.com/synrc/fs/blob/master/src/sys/inotifywait.erl#L10
If I open/edit some file on the host nothing happens (should compile something).
I played a bit, started inotifywait /vagrant and edited, deleted, created files, but all I can see is
vagrant@db24-phoenix /vagrant ❯❯❯ while true; do inotifywait /vagrant -r; done
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
/vagrant/ ATTRIB mix.exs
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
/vagrant/ ATTRIB mix.exs
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
/vagrant/ ATTRIB mix.lock
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
/vagrant/script/ ATTRIB .vagrant_provision.sh.swp
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
/vagrant/.git/ ATTRIB FETCH_HEAD
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
/vagrant/.git/ ATTRIB FETCH_HEAD
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
If I do something inside the vm in /vagrant inotifywait shows
Watches established.
/vagrant/ ATTRIB,ISDIR test
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
/vagrant/ CREATE foo
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
/vagrant/ DELETE foo
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
/vagrant/ ATTRIB foo
So what's happening here? Is notify-forwarder not able to forward the correct event types?
There's another app running (https://github.com/brunch/brunch), which responds to events from notify-forwarder, but I did not dig deeper since it's doing its job ;)
I set up a vagrant vm with your vagrant notify-forwarder plugin, host is a Mac OS X (10.10.5), guest is debian jessie. In the vm there's an app running, waiting for some fs events by calling inotifywait => https://github.com/synrc/fs/blob/master/src/sys/inotifywait.erl#L10
If I open/edit some file on the host nothing happens (should compile something).
I played a bit, started
inotifywait /vagrantand edited, deleted, created files, but all I can see isIf I do something inside the vm in /vagrant inotifywait shows
So what's happening here? Is notify-forwarder not able to forward the correct event types?
There's another app running (https://github.com/brunch/brunch), which responds to events from notify-forwarder, but I did not dig deeper since it's doing its job ;)