hugo/helpers
bep df489b4712 Enable soft livereload of CSS and images
Prior to this commit a dummy JavaScript filename was sent to LiveReload when changing a static file (CSS, image etc.), forcing a full browser reload of the page.

This commit fixes this by sending the relative file path of the changed static resource, enabling partial live reloading for CSS- and image-changes. If more than one static file happens to end up in the same changeevent-batch, it will fall back to do a full refresh. To enable this logic, the change events with names ending with ".goutputstream*" is now filtered out as temporary.

Changes in dynamic content behaves like before.

Issue #490
2014-09-11 16:58:06 -04:00
..
general.go Better handling of when the specified port is already in use 2014-05-15 17:41:03 -04:00
helpers_test.go Enable soft livereload of CSS and images 2014-09-11 16:58:06 -04:00
path.go Enable soft livereload of CSS and images 2014-09-11 16:58:06 -04:00
pygments.go Add pygmentsstyle and pygmentsuseclasses options 2014-05-09 23:20:11 -04:00
url.go Go back to lowercase slugs. Also, use MakePathToLower in TestMakeToLower. 2014-09-08 11:42:36 -04:00