Skip to main content
Module

x/packup/generate_assets.ts>watchAndGenAssets

📦 Zero-config web application packager for Deno
Go to Latest
function watchAndGenAssets
import { watchAndGenAssets } from "https://deno.land/x/packup@v0.2.4/generate_assets.ts";

Builds the entrypoint and watches the all files referenced from the entrypoint. If any change is happend in any of the watched paths, then builds again and update the watching paths. Used in packup serve.

Parameters

path: string
opts: GenerateAssetsOptions

Returns

AsyncGenerator<File, void, void>