Skip to main content
Module

x/frugal/server.ts

A frugal web framework
Go to Latest
import * as frugal from "https://deno.land/x/frugal@0.5.0/server.ts";

Classes

Wrap a FrugalServerBuilder in a watcher instance. Internally, this class will spawn a child deno process in watch mode actually running the FrugalServerBuilder and the produced instance. On each application reload, an event will be dispatched to a LiveReloadClient, triggering a browser refresh.

Functions

Convenience function building a FrugalServerBuilder, a FrugalWatcherServer, and starting the watch process.