The quickest way to set-up live reload in Chrome
Front-end development just got a little easier. Ever wanted to have like four browser windows next to each other, and have them automatically refresh when you’ve made an update to the project’s javascript, CSS, or whatever?
I read a bunch of walkthroughs on setting up guard and guard-livereload through the terminal, but hopefully I can save you from having to do that as well.
Setting up LiveReload through Sublime Text 2’s package manager is a much easier option.
So, to get directly to the point:
- Open Submlime Text 2 and install the LiveReload package through Package Control.
- Re-open Sublime Text 2 and open up whatever project directory you’re working from.
- Install the Chrome browser extension called LiveReload (or the same extension for Firefox). Once it’s installed, toggle the extension.
- Navigate to your dev project in Chrome, and behold it automatically updating when you save changes in ST2!