Code Monkey home page Code Monkey logo

livereload-sublimetext2's Introduction

LiveReload for Sublime Text 2

A web browser page reloading plugin for the Sublime Text 2 editor.

Installing

Install with Sublime Package Control, search for LiveReload and install.

Devel branch

Have a look at devel version. Which is total rewrite of plugin, supporting SublimeText 3, plugins and much more.

Browser extensions

You can use both major LiveReload versions. For old one you can find instructions bellow, for new ones please visit New browser extensions or try self loading version.

Google Chrome extension

Click “Install”. Actually, LiveReload does not access your browser history. The warning is misleading.

If you want to use it with local files, be sure to enable “Allow access to file URLs” checkbox in Tools > Extensions > LiveReload after installation.

Safari extension

For now it only works with self loading version:

<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>

Firefox 4 extension

Usage

Now, if you are using Safari, right-click the page you want to be livereload'ed and choose “Enable LiveReload”:

If you are using Chrome, just click the toolbar button (it will turn green to indicate that LiveReload is active).


You can also use the Preferences menu to change port, version and type of reloading(full, js,css).

Compass

Want to use Livereload with compass ? Now you can !

.scss and .css have to be in the same directory , if no config.rb file is found one will automatically generated !

So if you want to start using compass, install compass gem, edit a xxx.scss file and voila ! A .css file would be automatically generated.

livereload-sublimetext2's People

Contributors

grafikart avatar kyrias avatar sgricci avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.