Skip to content

Commit

Permalink
fix: 🐛 never use incremental: true (#18)
Browse files Browse the repository at this point in the history
Issues: #16
  • Loading branch information
johngeorgewright authored and Forbes Lindesay committed Jun 17, 2019
1 parent a5f3a5d commit 757331b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/loadTsConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ export default function loadTsConfig(cwd: string): any {
// the composite setting adds a few constraints that cause us all manner of problems
compilerOptions.composite = false;
}
compilerOptions.incremental = false;
return compilerOptions;
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"declaration": true,
"lib": ["es2018"]
"lib": ["es2018"],
"incremental": true
},
"include": ["src"]
}

0 comments on commit 757331b

Please sign in to comment.