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
UPD: I thought it's related to --assumeChangesOnlyAffectDirectDependencies flag - https://devblogs.microsoft.com/typescript/announcing-typescript-3-8/ - but it's not. Even without this flag, ttsc overwrites the files in dist/, although their compiled output and themselves are both not changed (and tsc doesn't touch such files in similar sutuations).
P.S.
If it stops reproducing, run rm -rf dist/* before ttsc.
P.P.S
I can be that vanilla tsc also recompiles b.ts and c.ts on changes in a.ts, but just doesn't write them since the compiled output is not changed (and ttsc doesn't have this "content comparison"). But then, what about --assumeChangesOnlyAffectDirectDependencies flag? Is it supported by ttsc the same way as it's supported by tsc?
The text was updated successfully, but these errors were encountered:
dko-slapdash
changed the title
ttsc --assumeChangesOnlyAffectDirectDependencies doesn't work
ttsc --watch --assumeChangesOnlyAffectDirectDependencies doesn't work
Apr 17, 2020
dko-slapdash
changed the title
ttsc --watch --assumeChangesOnlyAffectDirectDependencies doesn't work
ttsc --watch updates compiled files which are typically not touched by vanilla tsc
Apr 17, 2020
UPD: I thought it's related to --assumeChangesOnlyAffectDirectDependencies flag - https://devblogs.microsoft.com/typescript/announcing-typescript-3-8/ - but it's not. Even without this flag, ttsc overwrites the files in dist/, although their compiled output and themselves are both not changed (and tsc doesn't touch such files in similar sutuations).
In console 1:
In console 2:
In console 3:
Expected result (and actually this is what vanilla
yarn tsc --watch
shows):Actual result with ttsc:
P.S.
If it stops reproducing, run
rm -rf dist/*
before ttsc.P.P.S
I can be that vanilla tsc also recompiles b.ts and c.ts on changes in a.ts, but just doesn't write them since the compiled output is not changed (and ttsc doesn't have this "content comparison"). But then, what about --assumeChangesOnlyAffectDirectDependencies flag? Is it supported by ttsc the same way as it's supported by tsc?
The text was updated successfully, but these errors were encountered: