IssueRaiser

Typescript Watch - Cleaning Target Files on Source Deletion

Can we[ add a compiler option](https://stackoverflow.com/questions/44159501/typescript-watch-removing-deleted-target-js-files) to also glob-delete a target file when the source file is removed? We run into this constantly and have to gulp clean frequently - it makes the usage of `tsc -watch` pointless as we have to constantly purge the output directory.

Posted by alohaninja on May 24, 2017, 1:18 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments

github (Software)

Typescript Watch - Cleaning Target Files on Source Deletion

alohaninjaMay 24, 2017, 1:18 PM

Can we[ add a compiler option](https://stackoverflow.com/questions/44159501/typescript-watch-removing-deleted-target-js-files) to also glob-delete a target file when the source file is removed? We run into this constantly and have to gulp clean frequently - it makes the usage of `tsc -watch` pointless as we have to constantly purge the output directory.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue