-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Incremental Builds are not Reliable v5.4.5 #58427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is working as intended.
Here is output
|
Ahhh, that explains why it doesn't work as expected. It only takes local dependencies into account. That is too bad. It means I have to do By the way, thank you for the I will open a feature request to add a compile option to "monitor external dependencies". I would rather have it take a little bit long to compile reliably than to waste time trying to figure out why something wasn't working only to realize I needed to do a clean build. To be clear, I was sure this was a bug. I had opened the |
This issue has been marked as "Working as Intended" and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
π Search Terms
build, incremental, composit, tsbuildinfo, location, symlink
Related to: #48314
Maybe: #30946, #48981
π Version & Regression Information
β― Playground Link
https://github.com/Jason3S/tsbuild-issue
π» Code
Given the following code:
src/window.ts
tsconfig.json
π Actual behavior
pnpm add -D @types/[email protected]
pnpm tsc -b .
pnpm add -D @types/[email protected]
pnpm tsc -b .
<-- Should NOT Build, but it does.After deleting the
outDir
(dist
), it works as expected.π Expected behavior
For
tsc -b .
to re-build files when there are changes to dependencies.Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: