You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pp0rtal
changed the title
Support for --listEmittedFiles + new message emitted_file
Support for --listEmittedFiles + new message file_emittedMar 8, 2022
Summary: watch tsc generated files
I'm using the client and I would like to be notified everytime a new file is written.
This is possible with
listEmittedFiles
options which list the files emitted https://www.typescriptlang.org/tsconfig#listEmittedFilesWhy? Performance I'm using this lib client inside some compilation flow (there are some post-process after the Ts is compiled)
listEmittedFiles
I can unwatch the dist folder :)RFC: listEmittedFiles support
tsc-watch --listEmittedFiles
new optionfile_emitted
with the absolute file pathFYI tsc output is trivial:
Example of implementation:
Impact
no regression at all
(
--listEmittedFiles
has to be explicitely called)ℹ️ Note I will do the PR
The text was updated successfully, but these errors were encountered: