LiveReload Screencast

7.11.10 by Gregg Pollack

Are you still hitting the refresh button every time you change some code / stylesheet?  If yes, you may want to watch the following video and learn about LiveReload by Mikhail Gusarov.

View on YouTube

Yes, I know there are already a few other tools out there that do this, but I don’t think I’ve seen any that actually reload the CSS or Javascript without even reloading the page.  I also forgot to mention in the video that it works in both Safari AND Chrome.

Related posts:

  1. Twongo Website & Screencast
  2. Beautiful Markup
  3. OSCON Interview

80 Responses to “LiveReload Screencast”

Comments 1 Comment 1 Comment

  1. Guillermo Velasquez says:

    Awesome… Thanks for sharing…

  2. karanbhangui says:

    golf clap

    This comment was originally posted on Hacker News

  3. Ben Damman says:

    A timely find, Gregg, as I’ve been exploring websocket uses the last few days and Mikhail Gusarov’s LiveReload ranks high on my list of compelling websocket applications. I’m certain we’ll see many more sprouting up all over as the websocket standard is finalized and makes its way into all browsers. Presumably this is why MG couldn’t add Firefox support for LiveReload–yet. Although it probably won’t be long since FF 4 beta has websocket support.

    Websockets are going to be the biggest thing since AJAX, I tell ya! A topic worthy of an EnvyCast, IMO. :-)

  4. André Faria says:

    Great Tool!!!!

    This comment was originally posted on FriendFeed

  5. John Athayde says:

    This. Is. So. Awesome. Thanks for sharing this Gregg.

  6. Nice tip. Funny how excited Greg was with it in the screencast. Thanks!

  7. Alan says:

    Will this work with haml/sass/compass?? – it seems like it might if you added the haml file extension and had compass watch running in another terminal session.

  8. GAKAKI says:

    LIKE SAME AS XREFRESH FOR FIREFOX

  9. Roland says:

    Very nice. Hope it sees native fs-event watching support soon.

    Also I second Ben’s opinion about WebSockets.
    Only insane people still messing around with comet crap :-)

  10. John Polling says:

    @Alan we use it whilst using compass watch as well. Works a treat. You could also look at this http://gist.github.com/472349 to handle processing lots of file types.

  11. Brian Underwood says:

    Apparently livereload now supports configuration. You can create a .livereload file either in your home or your project and do (I think):

    config.exts << 'erb'

    Except that the default now includes erb. I used it to add "rhtml" because my project still uses those (not for long) ;)

  12. doabit says:

    it’s very cool!!

  13. [...] 在開始使用 LiveReload 前,你可以先觀看由 EnvyLabs 拍攝的示範影片,了解使用方式。相信我,裝了它之後你就會愛上它了。 [...]

  14. See less.js, it does something similar without any server process or browser plugin.
    http://ajaxian.com/archives/do-less-with-less-js

    It’s pretty cool, but so is the mentioned app in this article. Though I don’t quite follow how the template reloading would work. That part is damn cool!, it doesn’t reload the whole page right? Or does it? I’m probably being optimistic thinking it actually somehow does only partial page updates.

  15. Rafael says:

    I can’t make it work!
    I’m running Ubuntu Lucid and when I click the Chrome Extension icon it says “Cannot connect to LiveReload server. Please run livereload command from the directory you want to watch.” but the server it’s running in the folder I want to watch.

    Version: 1.3 (compatible with browser extension versions 1.3.x)
    Port: 10083
    Watching: /home/movihus/code/repo/inventario_impresoras
    – extensions: .html .css .js .png .gif .jpg .php .php5 .py .rb .erb
    – excluding changes in: */.git/* */.svn/* */.hg/*

    LiveReload is waiting for browser to connect.

    What’s wrong?

  16. Neto says:

    Very good!!!
    Thanks for share :)

Leave a Reply

* Required Fields

Additional comments powered by BackType