emyl / vagrant-triggers

Allow the definition of arbitrary scripts that will run on the host before and/or after Vagrant commands.
MIT License
546 stars 35 forks source link

How to triggers a command after rsync-auto #56

Closed byteshiva closed 8 years ago

byteshiva commented 8 years ago

How to trigger a command after rsync-auto

$vagrant rsync-auto

I'm looking for the below vagrant dsl to execute whenever there happens an rsync between host to guest.

But the below script is not working !!

config.trigger.after :rsync do
        run "pwd"
  end
emyl commented 8 years ago

Hello,

Unfortunately such a trigger can't currently work, see also #36 for more details.