You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was an head scratcher for me as I had only 1 site failing to autoreload when I maded changes to a SCSS. This looks like a bug in https://github.com/livereload/livereload-js and you will typically see this in the Chrome console:
Uncaught TypeError: link.getAttribute is not a function
at Reloader.linkHref (livereload.js?port=1313&mindelay=10&v=2:1744)
at livereload.js?port=1313&mindelay=10&v=2:1642
at pickBestMatch (livereload.js?port=1313&mindelay=10&v=2:1421)
at Reloader.reloadStylesheet (livereload.js?port=1313&mindelay=10&v=2:1642)
at Reloader.reload (livereload.js?port=1313&mindelay=10&v=2:1499)
at LiveReload.performReload (livereload.js?port=1313&mindelay=10&v=2:1089)
at Object.message (livereload.js?port=1313&mindelay=10&v=2:1069)
at Object.message (livereload.js?port=1313&mindelay=10&v=2:708)
at Parser.process (livereload.js?port=1313&mindelay=10&v=2:1321)
at Connector._onmessage (livereload.js?port=1313&mindelay=10&v=2:840)
For the above to happen:
You need an @import in your styles
The change must only result in 1 changed (CSS) file; else we fall back to a hard browser refresh (and that works fine)
The text was updated successfully, but these errors were encountered:
This was an head scratcher for me as I had only 1 site failing to autoreload when I maded changes to a SCSS. This looks like a bug in https://github.com/livereload/livereload-js and you will typically see this in the Chrome console:
For the above to happen:
@import
in your stylesThe text was updated successfully, but these errors were encountered: