you can set PyCharm to upload files on save. it'll scp all changed files for you and can run post upload scripts, for example to restart httpd.
Settings -> Deployment
Point to your Vagrant instance IP
Settings -> Deployment -> Options
and select 'upload changed files automatically'
EDIT: sorry I lied re opst upload script, must have confused with something else