Sublime Forum

Command after SFTP upload?

#1

Can I have Sublime Text automatically run another command after my Sublime SFTP plugin performs an upload? Maybe it could trigger a terminal command or system service (that I set up using OSX’s Automator)?

This is what I am specifically trying to do… I have Sublime SFTP configured to automatically upload on save. I also have a system service on OSX which reloads the active tab in Safari (“activated by keyboard shortcut in OSX”). I would love if pressing CMD-S to save, not only would upload the file, but would active Safari tab after upload is complete. Is there is a way I can trigger a command after the SFTP plugin is finished uploading?

Thank you in advance!

0 Likes