Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/frugal/packages/core/mod.ts>watch

A frugal web framework
Go to Latest
function watch
import { watch } from "https://deno.land/x/frugal@0.2.1/packages/core/mod.ts";

Convenience function building a FrugalBuilder, a FrugalWatcher, and starting the watch process. By default all modules in the dependency graph are watched (see https://deno.land/manual/getting_started/command_line_interface#watch-mode). If you want to watch additionnal files/folders, pass them to the paths option.

Parameters

config: Config
watch: string[]