convertToNotifyOptions() — vite Function Reference
Architecture documentation for the convertToNotifyOptions() function in watch.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD d2c779ef_5a62_b85d_23f4_6937e2c9e0e6["convertToNotifyOptions()"] b4c4dcfb_d52b_008a_a6fc_ed4f2bf1f714["watch.ts"] d2c779ef_5a62_b85d_23f4_6937e2c9e0e6 -->|defined in| b4c4dcfb_d52b_008a_a6fc_ed4f2bf1f714 94ad7f99_b02e_152e_c5a9_749d6de8d3c0["buildEnvironment()"] 94ad7f99_b02e_152e_c5a9_749d6de8d3c0 -->|calls| d2c779ef_5a62_b85d_23f4_6937e2c9e0e6 style d2c779ef_5a62_b85d_23f4_6937e2c9e0e6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/watch.ts lines 81–89
export function convertToNotifyOptions(
options: WatchOptions | undefined,
): WatcherOptions['notify'] {
if (!options) return
return {
pollInterval: options.usePolling ? (options.interval ?? 100) : undefined,
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does convertToNotifyOptions() do?
convertToNotifyOptions() is a function in the vite codebase, defined in packages/vite/src/node/watch.ts.
Where is convertToNotifyOptions() defined?
convertToNotifyOptions() is defined in packages/vite/src/node/watch.ts at line 81.
What calls convertToNotifyOptions()?
convertToNotifyOptions() is called by 1 function(s): buildEnvironment.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free