Wytch::Server

Development server for Wytch sites.

Description

Development server for Wytch sites.

The Server provides a local development environment with: - Hot reloading of site code and content - Static file serving from public/ - Page rendering on each request

Methods

def options

Returns:
(Hash) — server options (port, host)

def start

Starts the development server.

Loads the site configuration, starts file watchers for hot reloading, and begins serving requests. This method blocks until the server is stopped.

Returns:
(void)