AppleScript to Restart Local Server and Refresh Browser

My use case is I am developing a Jekyll website on a Mac. I wanted to have a hotkey to restart Jekyll, refresh the browser tab in Chrome, and keep me in Sublime.

Here’s a gist on GitHub I made to do this.