There are instructions to do this if you are using VM install using Vagrant.
the way I am solving it is to develop on an Ubuntu machine and compile there. Then I am using rsync to send my /dist folder over to my production machine (mine is a full VM hosted on ESXI)
then I change the symlink /var/www/bahmniapps to point to the directory that I copied over.
This seems pretty painless and let’s me develop and test pretty quickly, and then if I mess things up I can just point the symlink back to the original /opt/bahmni-web/etc/bahmniapps and revert to default.