Sublime Text 2 – Open Chrome Tab on Build

Simple to create automatically open a Chrome tab when editing HTML and wanting to see your changes.

  1. Select New Build System from the menus – see below:


2.  Get rid of the default text and replace with where you have installed the Google Chrome executable – it should look something like this (be sure to put in double backslashes for the filepath and put in “$file” after the filepath too:


3.  Save it as something sensible like “Chrome”.

4.  Then in the Build System menu (see first screenshot), you should see “Chrome” appear, select this.  Now press Ctrl+B or select Build from the Tools menu and it should open a new tab in Chrome.

Pretty easy.

Sublime Text 2 – Open Chrome Tab on Build