Skip to content
Commits on May 21, 2012
  1. @andreyvit

    Update livereload.js

    andreyvit committed May 22, 2012
  2. @andreyvit

    Fix live CSS refresh to work with prefixfree [#185]

    Prefixfree replaces original <link> with a <style> element, so we need
    to add some special handling for it:
    
    - match style[data-href] against incoming CSS paths
    
    - properly create a replacement <link> when the original is a <style>
    
    - invoke PrefixFree to re-process the updated CSS
    
    StyleFix is a name of a framework that PrefixFree is based on.
    andreyvit committed May 21, 2012
  3. @andreyvit

    Use unload+polling to trigger removal of old <link> [#198]

    Previously we had a fixed 200ms delay before removing the old
    stylesheet on live CSS refresh.  Problem is that Sprockets asset
    pipeline often takes more time to produce a CSS file, causing a flash
    of unstyled content for Rails developers.
    
    Most browsers have recently started to support onload event for CSS,
    so it makes sense to switch to that, plus polling every 50 ms.
    
    Tested in Safari, Chrome, Firefox and Opera. (Current stable Safari is
    the only major browser that uses polling; Safari 5.2 on 10.8 should
    support onload too.)
    andreyvit committed May 21, 2012
Commits on May 20, 2012
  1. @andreyvit

    Version bump to 2.0.8

    andreyvit committed May 21, 2012
  2. @andreyvit

    Use readyState to trigger removal of old <link> [#198]

    Previously we had a fixed 200ms delay before removing the old
    stylesheet on live CSS refresh.  I'm not sure why it has been done
    that way.  Problem is that Sprockets asset pipeline often takes more
    time to produce a CSS file, causing a flash of unstyled content for
    Rails developers.
    
    Waiting until readyState is 'complete' is clearly a superior way to
    detect when the new stylesheet has finished loading, and that's what
    this commit implements.
    
    Tested in Safari, Chrome, Firefox and Opera, and seems that it should
    work in IE too.
    andreyvit committed May 21, 2012
Commits on Mar 29, 2012
  1. @andreyvit

    Version bump to 2.0.7

    andreyvit committed Mar 30, 2012
  2. @andreyvit
Commits on Mar 22, 2012
  1. @andreyvit
  2. @andreyvit
Commits on Feb 13, 2012
  1. @andreyvit

    Update livereload.js

    andreyvit committed Feb 13, 2012
  2. @andreyvit

    Remove debug output

    andreyvit committed Feb 13, 2012
  3. @andreyvit

    Version bump to 2.0.6

    andreyvit committed Feb 13, 2012
  4. @andreyvit
Commits on Feb 4, 2012
  1. @andreyvit

    Update livereload.js

    andreyvit committed Feb 4, 2012
  2. @andreyvit

    Version bump to 2.0.5

    andreyvit committed Feb 4, 2012
  3. @andreyvit

    Make logging optional

    andreyvit committed Feb 4, 2012
Commits on Dec 4, 2011
  1. @andreyvit

    Update livereload.js

    andreyvit committed Dec 4, 2011
  2. @andreyvit

    Bump version number to 2.0.4

    andreyvit committed Dec 4, 2011
  3. @andreyvit
Commits on Nov 26, 2011
  1. @andreyvit

    Update livereload.js

    andreyvit committed Nov 26, 2011
  2. @andreyvit

    Bump version to 2.0.3

    andreyvit committed Nov 26, 2011
  3. @andreyvit
Commits on Nov 18, 2011
  1. @andreyvit

    Update livereload.js

    andreyvit committed Nov 19, 2011
  2. @andreyvit
  3. @andreyvit

    Update livereload.js

    andreyvit committed Nov 18, 2011
  4. @andreyvit
  5. @andreyvit

    Typo fix in README

    andreyvit committed Nov 18, 2011
  6. @andreyvit

    Update livereload.js

    andreyvit committed Nov 18, 2011
  7. @andreyvit
  8. @andreyvit

    Bump version number to 2.0.2

    andreyvit committed Nov 18, 2011
  9. @andreyvit
  10. @andreyvit
Commits on Oct 22, 2011
  1. @andreyvit

    Add coffee->js build rules

    andreyvit committed Oct 22, 2011
  2. @andreyvit
  3. @andreyvit
Something went wrong with that request. Please try again.