Skip to content

Commit 3442d31

Browse files
authored
Fix outFile check (#44277)
1 parent 54fbeb5 commit 3442d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/watchUtilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ namespace ts {
473473

474474
// We want to ignore emit file check if file is not going to be emitted next to source file
475475
// In that case we follow config file inclusion rules
476-
if (options.outFile || options.outDir) return false;
476+
if (outFile(options) || options.outDir) return false;
477477

478478
// File if emitted next to input needs to be ignored
479479
if (fileExtensionIs(fileOrDirectoryPath, Extension.Dts)) {

0 commit comments

Comments
 (0)