Hello readers,
In this article I am going to show you how you can Livereload with sublime text. This article is useful for the developer who are working on their localhost project and trying to view the output on browser with local path.
Livereload with sublime text work as soon as you save the file in your sublime text. For example if you are working on .html
file, you made any change and save it. Now you can go to your browser to see update without having to reload the page. The extension will refresh the page automatically as you save your file.
CTRL + SHIFT + P
. It will opens package manger box where you can type and search for your desire plugin.Great! now you have install the livereload package in your sublime.
Again, we need to configure the setting of livereload in order to work.
Preferences > Package Settings > LiveReload > Setting - Default
{
"enabled_plugins": [
"SimpleReloadPlugin",
"SimpleRefresh"
]
}
Just to make sure your plugin work perfectly you have to re-start your sublime text.
Note: The above taskbar message in sublime text display for a while and it automatically disappear.
Now that’s all. Open your project folder and try editing your page and start saving your time for refreshing your page every time you make changes.
Have a nice day.