- First install sublime text 3 from here http://www.sublimetext.com/3 or follow your own way you prefer (I did it with Linux mint Package manager).
- Secondly, install package control from here https://packagecontrol.io/installation#st3 (instruction is clearly given in the website so I did not explain it much).
- Third, open package control (Shortcut : Ctrl+Shift+P) and search for Package Control: Add Repository Now comes a region to enter URL at bottom part of sublime text 3 window. Enter https://raw.github.com/Grafikart/ST3-LiveReload/master/package.json. Again, open package control and search for Package Control: Install Package and then search for LiveReload in the upcoming window.
- Configure LiveReload Package Setting at Preferences > Package Settings > LiveReload > Setting - Default and paste this :
{
"enabled_plugins":
[
"SimpleReloadPlugin",
"SimpleRefresh"
]
}
-
Now for your browser, install LiveReload plug in as below : Firefox : http://download.livereload.com/2.1.0/LiveReload-2.1.0.xpi
-
Chrome : https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei
- go to chrome://extensions, and check off Allow access to file URLs
-
Safari : http://download.livereload.com/2.1.0/LiveReload-2.1.0.safariextz
Don't forget to enable the LiveReload plugin in the browser once you have installed it, so you can see the code changes reflected in the browser right away.