Skip to content

Commit c443868

Browse files
committed
Use --incremental compilation
1 parent 434cb93 commit c443868

File tree

2 files changed

+1612
-1
lines changed

2 files changed

+1612
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function isValidCompile(compile) {
2929
}
3030

3131
async function compileTypeScript(projectDir) {
32-
return execa('tsc', ['--build', path.resolve(projectDir, 'tsconfig.json')], {preferLocal: true, cwd: projectDir});
32+
return execa('tsc', ['--build', path.resolve(projectDir, 'tsconfig.json'), '--incremental'], {preferLocal: true, cwd: projectDir});
3333
}
3434

3535
module.exports = ({negotiateProtocol}) => {

0 commit comments

Comments
 (0)