diff options
-rw-r--r-- | livereload/livereload.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/livereload/livereload.go b/livereload/livereload.go index eb2e79473..246928884 100644 --- a/livereload/livereload.go +++ b/livereload/livereload.go @@ -43,6 +43,8 @@ import ( "net/url" "path/filepath" + _ "embed" + "github.com/gorilla/websocket" ) @@ -152,7 +154,7 @@ func liveReloadJS() []byte { var ( // This is a patched version, see https://github.com/livereload/livereload-js/pull/84 - // go:embed livereload.js + //go:embed livereload.js livereloadJS string hugoLiveReloadPlugin = fmt.Sprintf(` /* |