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
I'm using guard-livereload on a legacy Rails project running the asset_packager helper (before Rails had this built-in). It took me forever to figure out that livereload.js was checking for linked stylesheets using xxx.rel === 'stylesheet', which failed to trigger because the old asset packager was writing its tags using rel = "Stylesheet"...
I've fixed this in a feature branch, and will submit a pull request shortly.
On a side-note:
why are you logging only if this.window.location.href.match(/LR-verbose/)? I would have caught this uch sooner if the script were simply dumping in the user's console at any time. I guess you don't want to spam?
The text was updated successfully, but these errors were encountered:
nemoDreamer
added a commit
to nemoDreamer/guard-livereload
that referenced
this issue
Sep 22, 2014
I'm using
guard-livereload
on a legacy Rails project running theasset_packager
helper (before Rails had this built-in). It took me forever to figure out thatlivereload.js
was checking for linked stylesheets usingxxx.rel === 'stylesheet'
, which failed to trigger because the old asset packager was writing its tags usingrel = "Stylesheet"
...I've fixed this in a feature branch, and will submit a pull request shortly.
On a side-note:
why are you logging only if
this.window.location.href.match(/LR-verbose/)
? I would have caught this uch sooner if the script were simply dumping in the user's console at any time. I guess you don't want to spam?The text was updated successfully, but these errors were encountered: