This script enables you sync a directory to remote linux server when changes occur.
NOTICE:
Usually you can specify node_modules as the "exclude" directory in config.
Your public key (~/.ssh/id_rsa.pub) on Mac should be added to ~/.ssh/authorized_keys on server side.
If you feel unhappy, I'm happy.