Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    entries: Vc<EvaluateEntries>,
    cwd: FileSystemPath,
    env: Vc<Box<dyn ProcessEnv>>,
    context_source_for_issue: Vc<Box<dyn Source>>,
    chunking_context: Vc<Box<dyn ChunkingContext>>,
    module_graph: Vc<ModuleGraph>,
    args: Vec<Vc<Value>>,
    additional_invalidation: Vc<Completion>,
    debug: bool,
) -> Vc<Option<RcStr>>
Expand description

Pass the file you cared as runtime_entries to invalidate and reload the evaluated result automatically.