gowebbuild/vendor/github.com/jaschaephraim/lrserver/lrserver.go

31 lines
764 B
Go
Raw Normal View History

/*
Package lrserver implements a basic LiveReload server.
(See http://feedback.livereload.com/knowledgebase/articles/86174-livereload-protocol .)
Using the recommended default port 35729:
http://localhost:35729/livereload.js
serves the LiveReload client JavaScript, and:
ws://localhost:35729/livereload
communicates with the client via web socket.
File watching must be implemented by your own application, and reload/alert
requests sent programmatically.
Multiple servers can be instantiated, and each can support multiple connections.
*/
package lrserver
const (
// DefaultName is the livereload Server's default name
DefaultName string = "LiveReload"
// DefaultPort is the livereload Server's default server port
DefaultPort uint16 = 35729
)