HotReload

com.alecdorrington.pageloader.HotReload
object HotReload

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HotReload.type

Members list

Value members

Concrete methods

def enable(websocketPath: String = ...): Unit

Enables automatic reloading. When the server is restarted (detected through WebSocket disconnection), the client will repeatedly attempt to reconnect until it is successful.

Enables automatic reloading. When the server is restarted (detected through WebSocket disconnection), the client will repeatedly attempt to reconnect until it is successful.

Value parameters

websocketPath

The URL of the heartbeat websocket connection to detect when the server goes down. Specified relative to the current domain (i.e. include the full path without the domain name).

Attributes

Note

Intended for use during development.