I'm trying to understand if there is the possibility to develop a vagrant plugin that permits through the vagrantfile to attach custom beahviours to vm events, such the execution of shell commands.
For example a vagrant rsync after a command like composer install has been run on the virtual machine.
Any ideas?