mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 01:30:50 +00:00
523f38a9a8
The paths were seen as changed but not static because of the backslashes in ev.Name. Once the backslashes were added, I discovered that the JSON sent to livereload was invalid and failed to work because it had backslashes. Hence the code to replace the backslashes from the path to make them work in JSON and for the URL. With this fix, changes to a stylesheet are shown on the page, and if it's a single file that changed, it's reflected in the browser without reloading the whole page. |
||
---|---|---|
.. | ||
benchmark.go | ||
check.go | ||
convert.go | ||
hugo.go | ||
limit_darwin.go | ||
limit_others.go | ||
list.go | ||
new.go | ||
server.go | ||
server_test.go | ||
version.go |