mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
@@ -33,7 +33,7 @@ func (c *connection) reader() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
if bytes.Contains(message, []byte(`"command":"hello"`)){
|
if bytes.Contains(message, []byte(`"command":"hello"`)) {
|
||||||
c.send <- []byte(`{
|
c.send <- []byte(`{
|
||||||
"command": "hello",
|
"command": "hello",
|
||||||
"protocols": [ "http://livereload.com/protocols/official-7" ],
|
"protocols": [ "http://livereload.com/protocols/official-7" ],
|
||||||
|
Reference in New Issue
Block a user