![]() ![]() This approach is pretty reliable compare to LiveReload. From there on, any change you’ve made in the sublime text, the browser will auto refresh upon file saving. Press Ctrl Shift R again, you will see the “Start debugging” option. live reload sublime how to install live reload live reload extension sublime best packageIn this video sublime text live preview is explore what sublime. This will launch a chrome, and you will have the ability to select which tab you’d like to hook the remote debugger on. Press enter when you see “Start Google Chrome with remote debug port 9222” Press Ctrl Shift R to launch remote debugging command. Update chrome’s target flag to add - remote– debugging-port=9222 at the end of the target line. Its new, hyper-fast, and flexible, with all the features you want: smart autocomplete, multiple cursors. "windows" : "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", It all starts with our first-class text-editor. "osx": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", now in browser Enable LiveReload on that page by clicking the icon on the top right, which looks like a wheel, the livereload sign. Update the windows’s chrome path like below. Once you have the package installed, go to Preferences > Package Settings > Web Inspector > Settings – Default. In our case, we have already installed, so the package will not show in the list. Depends on which version of Sublime Text you are using select the one accordingly. You will see top two results are Web Inspector and Web Inspector 3. If you can see the package control listed below, then you are good to go.Īfter entering “Package Install” press enter, then type “Web Inspector”. ![]() Just press Ctrl Shift P and type package control. Here is the setup in order to make it work.įirst you need to install package control into Sublime Text, if you haven’t done so you can easily find out if the following command shows you the screenshot below. Hence, if you are using Sublime Text as your text editor, and chrome as your browser, then there is no need for you to use any additional tools to help you reload the browser. One of the packages that enables this feature also comes with a handy feature that is the ability to auto reload upon changes. ![]() In this case, we are going to use Sublime Text 2 / 3 to remote debug in chrome. Remote debugging, allows you to debug an app remotely. If your main development browser is Chrome, you can configure auto reload without additional third party toolsĪ while ago, chrome introduced a new way to debug your web app. Often times, you will find it crashes far more than you actually need it to reload the browser manually. LiveReload, costs $9.99 for Mac, is free on Windows. Get a Live Preview on Firefox and learn how to setup Livereload to work well on Sublime Text and Mozilla Firefox. LiveReload is one of the most popular development tools out there that helps you, as a web developer, to auto refresh or reload the browser when file changes are made in a directory you specified. ![]()
0 Comments
Leave a Reply. |