Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(w http.ResponseWriter, r *http.Request)
Handler is a HandlerFunc handling the livereload Websocket interaction.
func RefreshPath ¶
func RefreshPath(s string)
RefreshPath tells livereload to refresh only the given path. If that path points to a CSS stylesheet or an image, only the changes will be updated in the browser, not the entire page.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.