-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed as not planned
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
π Search Terms
build, incremental, composit, tsbuildinfo, location, symlink
Related to: #48314
Maybe: #30946, #48981
π Version & Regression Information
- This is the behavior in every version I tried
β― Playground Link
https://github.com/Jason3S/tsbuild-issue
π» Code
Given the following code:
src/window.ts
import type vscode from 'vscode';
export const state: vscode.WindowState = {
focused: true,
}tsconfig.json
π Actual behavior
pnpm add -D @types/[email protected]pnpm tsc -b .- Builds as expected.
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
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
{ "$schema": "https://json.schemastore.org/tsconfig", "extends": "@tsconfig/node18/tsconfig.json", "compilerOptions": { "incremental": true, "tsBuildInfoFile": "./dist/compile.tsbuildInfo", "declaration": true, "declarationMap": true, "module": "Node16", "moduleResolution": "Node16", "sourceMap": true, "outDir": "dist", // "types": ["node", "vscode"], "rootDir": "src" }, "include": ["src"], "exclude": [] }