Skip to content

Program created with createSemanticDiagnosticsBuilderProgram writes files to disk. #29176

Description

@0xorial

Search Terms:
incremental program watcher createSemanticDiagnosticsBuilderProgram

I tried example from here and the version with createSemanticDiagnosticsBuilderProgram still writes files to disk. Also it is much slower than version with createEmitAndSemanticDiagnosticsBuilderProgram.
(project ~140 files, size ~1MB. full compile ~8s, 'semantic' incremental compile ~3s, 'emitAndSemantic' incremental compile <0.5s)

Expected behavior:
No files written to disk. Performance is approximately same between createSemanticDiagnosticsBuilderProgram and createEmitAndSemanticDiagnosticsBuilderProgram

Actual behavior:
Files are written to disk and performance is much worse with createSemanticDiagnosticsBuilderProgram .

Related
tildeio/broccoli-typescript-compiler#57
#20234

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions