function mutateFSTree
mutateFSTree(
fsTree: FSTree,
event: string,
path: string
): void

Mutates fsTree in place based on a chokidar file-system event.

Parameters

fsTree: FSTree
event: string
path: string

Return Type

void

Usage

import { mutateFSTree } from "lib/setup/file-watcher.ts";