Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method PageRefresher.prototype.refresh
import { PageRefresher } from "https://deno.land/x/frugal@0.2.1/packages/core/PageRefresher.ts";

Refresh the page for a given matching pathname.

The build process id memoized and will be skiped if nothing has changed since the last build.

Parameters

pathname: string

Returns

Promise<string>