@vandenberghinc/volt 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,44 +0,0 @@
1
- import { vlib } from "./vinc.js";
2
- declare class StaticFileWatcher {
3
- private server;
4
- private mtimes;
5
- private endpoints;
6
- private log_source;
7
- private interval;
8
- constructor(server: any);
9
- start(): Promise<void>;
10
- add(endpoint: any): void;
11
- has(endpoint: string): boolean;
12
- stop(): void;
13
- }
14
- declare class FileWatcher {
15
- private source;
16
- private config?;
17
- private interval;
18
- private excluded;
19
- private additional_paths;
20
- private start_file?;
21
- private log_source;
22
- private args;
23
- private mtimes;
24
- promise: Promise<any>;
25
- private proc;
26
- private has_changed;
27
- private _com_file?;
28
- constructor({ source, config, interval, excluded, additional_paths, start_file, }: {
29
- source: vlib.Path | string;
30
- config?: string;
31
- interval?: number;
32
- excluded?: string[];
33
- additional_paths?: string[];
34
- start_file?: string;
35
- });
36
- add_path(path: string | vlib.Path): void;
37
- add_exclude(path: string | vlib.Path): void;
38
- start(): Promise<void>;
39
- scan(): Promise<void>;
40
- scan_files(): void;
41
- spawn_process(): void;
42
- restart_process(): Promise<void>;
43
- }
44
- export { StaticFileWatcher, FileWatcher };