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
Adsf version 1.4.7 started using lower case headers to support rack 3, however the rack-livereload gem that adsf-live depends on has not yet been updated and expects upper case headers. I realise this is something that needs to be updated in the rack-livereload gem, but that project seems dormant.
Until that gem gets updated, I created this monkey patch that seems to work:
The rack-livereload repository doesn’t seem to be publishing new gems, which is a problem (because Rubygems doesn’t support having dependencies on Git repositories, just on published gems). There’s an issue open asking for a new release (jaredmdobson/rack-livereload#10) but so far no movement there.
Not having livereload in Nanoc sucks (I need it) so I might fork rack-livereload and publish my own gem of it, likely this weekend -- I suspect that’ll happen when I start making changes to my own site and realise it’s not working as intended!
Adsf version 1.4.7 started using lower case headers to support rack 3, however the rack-livereload gem that adsf-live depends on has not yet been updated and expects upper case headers. I realise this is something that needs to be updated in the rack-livereload gem, but that project seems dormant.
Until that gem gets updated, I created this monkey patch that seems to work:
It's a bit tricky to get the patch to load at the right time when used with nanoc, I ended up creating a custom nanoc command.
The text was updated successfully, but these errors were encountered: