

- #Firefox livereload plugin how to#
- #Firefox livereload plugin install#
- #Firefox livereload plugin code#
- #Firefox livereload plugin free#
#Firefox livereload plugin free#
But it’s free (so far).Īs you can see there are several ways to finally give the reload key of your browser some rest. Unfortunately LiveStyle just works with vanilla CSS (no SASS or the like) and only supports Google Chrome, Safari and Sublime Text (with more browsers and editors to come). That means not only that changes you make in your editor can instantly be seen in your browser, but also vice versa.Ĭhanges which are made with the developer tools are also updated in your editor. Recently a pretty sweet package called LiveStyle was released, which supports bi-directional editing. If all of that still can’t convince you, I might yet have something for you.

Apart from that you can also use it to compile CoffeeScript, Eco, HAML, IcedCoffeeScript, Jade, LESS, Compass, Slim and Stylus.

The setup can be a little bit tricky, depending on the type of LiveReload you want to use, since the config.rb file needs to reside in the main directory of your project for the App, and in the SASS directory if you use the Sublime Text 2 plugin. The compiler is not only triggered if you save the main SCSS file, but also if you edit a partial (an included file). It’s the perfect companion for SASS, the favorite CSS preprocessor everybody seems to use. For the sake of completeness I also want to mention that it can be combined with the browser extension, although that doesn’t make much sense, since the script already takes care that LiveReload works in every environment.īut LiveReload has even more to offer. The script method works with the LiveReload app as well as Sublime Text 2 (or any other supported editor). Now if you change a file the differences also appear magically on your (mobile) device.
#Firefox livereload plugin how to#
Keen to know how to do that? Find out the IP address of your computer and enter it – including the (web server) path to your project – into your device you want have the LiveReload behavior on. If you prefer the script method of LiveReload you have a big bonus: the live changes are also available on other devices apart from your developing machine – which, however, might again require a web server. But where there is shadow there is also light (or is it vice versa?). “Way easier than the hassle with web servers and browser extensions” you might think, but not every project allows to insert something else unneeded to every single page. Insert it right before the closing tag and you’re all set. If your web site is running on another server, you need to specify the IP address of your local computer instead. It’s much simpler to set up, but has the disadvantage that you need to insert a small script into every HTML (or PHP or whatever) page of your project (which the browser plugin handles for you at the first method). If all of that is much too complicated for you, there still remains the second way to use LiveReload which I promised above. What to type in at the Package Control command prompt. Now restart Sublime Text 2 once more and like at the native App you just need to enter the localhost URL from above into your browser, enable the LiveReload plugin by clicking on it and from now on every change of the files of your project are directly reflected in your browser without the need to reload. Then hit Enter, wait a few seconds to load, write “LiveReload”, select the appearing entry, hit “Enter” again and the plugin is installed.
#Firefox livereload plugin install#
The exact installation process can be found here.Īfter you have restarted the editor, hit CMD + Shift + P (CTRL + Shift + P for Windows) to open a Package Control prompt, type in “Install” and “Package Control: Install Package” should immediately be highlighted.
#Firefox livereload plugin code#
First you need to install the essential package manager Package Control, which just requires to enter some code into the console (“View > Show console” at the menubar of Sublime Text 2). "ember-maybe-import-regenerator": "^0.1.If you rather want to stay in your accustomed environment of your code editor – in this case Sublime Text 2, which I will use exemplary here -, the implementation is a little different. "description": "Small description for raggamuffin goes here", ( Firefox can’t establish a connection to the server at ws://localhost:4200/_lr/livereload. Getting this error on fresh install and viewing welcome page: ember -v:įirefox can’t establish a connection to the server at ws://localhost:4200/_lr/livereload.
