Skip to content

Commit 757331b

Browse files
johngeorgewrightForbes Lindesay
authored and
Forbes Lindesay
committed
fix: 🐛 never use incremental: true (#18)
Issues: #16
1 parent a5f3a5d commit 757331b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/loadTsConfig.ts

+1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ export default function loadTsConfig(cwd: string): any {
1616
// the composite setting adds a few constraints that cause us all manner of problems
1717
compilerOptions.composite = false;
1818
}
19+
compilerOptions.incremental = false;
1920
return compilerOptions;
2021
}

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"noUnusedLocals": true,
2121
"noUnusedParameters": true,
2222
"declaration": true,
23-
"lib": ["es2018"]
23+
"lib": ["es2018"],
24+
"incremental": true
2425
},
2526
"include": ["src"]
2627
}

0 commit comments

Comments
 (0)