aboutsummaryrefslogtreecommitdiffhomepage
path: root/livereload
diff options
context:
space:
mode:
Diffstat (limited to 'livereload')
-rw-r--r--livereload/livereload.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/livereload/livereload.go b/livereload/livereload.go
index 9223d1497..59d4c1286 100644
--- a/livereload/livereload.go
+++ b/livereload/livereload.go
@@ -143,7 +143,7 @@ func refreshPathForPort(s string, port int) {
wsHub.broadcast <- []byte(msg)
}
-// ServeJS serves the liverreload.js who's reference is injected into the page.
+// ServeJS serves the livereload.js who's reference is injected into the page.
func ServeJS(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", media.Builtin.JavascriptType.Type)
w.Write(liveReloadJS())