diff options
Diffstat (limited to 'transform/livereloadinject.go')
-rw-r--r-- | transform/livereloadinject.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/transform/livereloadinject.go b/transform/livereloadinject.go index 83fe7c106..4efd0151d 100644 --- a/transform/livereloadinject.go +++ b/transform/livereloadinject.go @@ -18,6 +18,8 @@ import ( "fmt" ) +// LiveReloadInject returns a function that can be used +// to inject a script tag for the livereload JavaScript in a HTML document. func LiveReloadInject(port int) func(ct contentTransformer) { return func(ct contentTransformer) { endBodyTag := "</body>" |