Module server

Module server 

Source
Expand description

Development server with WebSocket live reload

Provides a static file server with automatic reload when files change.

Structs§

ServerConfig
Server configuration
ServerState
Server state shared across handlers

Enums§

ReloadMessage
Reload message sent to connected clients

Functions§

create_router
Create the server router
notify_reload
Notify clients to reload
run_server
Run the development server