top

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.

Imports 1 package(s)

  1. github.com/gorilla/websocket

Test imports 3 package(s)

  1. github.com/jaschaephraim/lrserver
  2. gopkg.in/fsnotify.v1
  3. github.com/smartystreets/goconvey/convey