microsoft/typescript-go

--noEmit does not work properly in watchMode

Closed this issue · 1 comments

sgjm commented

tsgo --noEmit doesn't emit files.
tsgo --noEmit -w emit files.

Noticed this as well today. Can't seem to combine --noEmit with --watch/-w.

I tried combining with something like --outDir NUL on Windows and it didn't work; it wants to create a directory called NUL but Windows won't let it. Maybe /dev/null would work on Unix but I haven't tried it.