grunt-ts icon indicating copy to clipboard operation
grunt-ts copied to clipboard

Cleanup lingering tscommand file after killing grunt-ts

Open jeffmay opened this issue 11 years ago • 4 comments

If you kill grunt while tsc is compiling, grunt-ts will leave behind a tscommand.

It should be able to clean up after the SIGINT signal.

jeffmay avatar Feb 01 '14 21:02 jeffmay

+1

I think you can do something like this:

process.on('exit', function() {
  //delete tscommand file
});

scriby avatar May 20 '15 02:05 scriby

I just started a new project with grunt-ts and running into this again

scriby avatar Jan 12 '16 18:01 scriby

This is opened since 2014. So I think I can not hope that this will be added?

Xenya0815 avatar Jun 13 '18 12:06 Xenya0815

Hi - my sincere apologies on this, but I do not have the time to investigate this. @scriby 's idea sounds good. If you are interested to try to implement, @Xenya0815 , a PR will certainly be accepted to implement. Thank you.

nycdotnet avatar Jun 25 '18 13:06 nycdotnet