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 NavigateToPathForPort ¶ added in v0.31.1
NavigateToPathForPort is similar to NavigateToPath but will also set window.location.port to the given port value.
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.