UNPKG

hot-hook

Version:

Easy hot module reloading (HMR) for Node.js and ESM

10 lines (9 loc) 247 B
import picomatch from 'picomatch'; export declare class Matcher { #private; constructor(rootDirectory: string, patterns?: picomatch.Glob); /** * Check if a path matches the patterns */ match(filePath: string): boolean; }