californiacros.blogg.se

Livereload ftp
Livereload ftp




livereload ftp
  1. #LIVERELOAD FTP INSTALL#
  2. #LIVERELOAD FTP CODE#

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.

livereload ftp

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.

#LIVERELOAD FTP 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.

#LIVERELOAD FTP 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). 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.






Livereload ftp