Skip to content

createIncrementalProgram: trigger recompilation with new files #35159

Closed
@ivogabe

Description

@ivogabe

Search Terms

createIncrementalProgram API changes

Suggestion

I'm currently trying to use createIncrementalProgram in gulp-typescript to make use of the new incremental compilation functionalities. I have not yet found how to signal the compiler that some files have changed. The version field of all the files is still at the old version, whereas the Host does have files with the new version. So how can I signal the BuilderProgram that some file has changed?

Use Cases

I'm implementing this in gulp-typescript, the gulp plugin for TypeScript. See ivogabe/gulp-typescript#635

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions