Skip to content

Commit 1e8a3f6

Browse files
committed
chore: update
1 parent db54328 commit 1e8a3f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/plugin-dts/src/tsc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export async function emitDts(
260260
`DTS generated in ${getTimeCost(start)} ${color.gray(`(${name})`)}`,
261261
);
262262
} else {
263-
// watch mode
263+
// watch mode, can also deal with incremental build
264264
if (!build) {
265265
const host = ts.createWatchCompilerHost(
266266
configPath,
@@ -273,7 +273,7 @@ export async function emitDts(
273273

274274
ts.createWatchProgram(host);
275275
} else {
276-
// incremental build with build project references
276+
// incremental build watcher with build project references
277277
const host = ts.createSolutionBuilderWithWatchHost(
278278
system,
279279
createProgram,

0 commit comments

Comments
 (0)