You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import ts = require("typescript");
var options = {
incremental: true,
allowJs: true,
sourceMap: true,
tsBuildInfoFile: "buildInfoTestOutput",
};
let program = ts.createIncrementalProgram ({
rootNames: ["./test1.ts"],
options: options
});
let emitResult = program.emit();
🙁 Actual behavior
createIncrementalProgram is not emitting incrementally. Files are recompiled even though the source files are not changed. It is behaving same as createProgram.
🙂 Expected behavior
Should not recompile when no source files have been changed.
The text was updated successfully, but these errors were encountered:
I am not sure what issue you are seeing. Can you share exact repro code, (Apart from your code, the source on which you are running this.) i have run this on simple repro and it works as expected.
Bug Report
🔎 Search Terms
createIncrementalProgram
🕗 Version
Typescript 4.5.4
💻 Code
🙁 Actual behavior
createIncrementalProgram is not emitting incrementally. Files are recompiled even though the source files are not changed. It is behaving same as createProgram.
🙂 Expected behavior
Should not recompile when no source files have been changed.
The text was updated successfully, but these errors were encountered: