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

tscommand.tmp.txt

Open bestander opened this issue 12 years ago • 11 comments
trafficstars

Hi, is this file necessary to be created in root folder?

bestander avatar Oct 11 '13 03:10 bestander

Unfortunately yes. You can add it to your git ignore, if that is what concerns you.

The reason we have this file is that when you have a large number of files passing all the file names as a command line option to tsc seems to have issues (it gets stuck). However using a file containing the options along with @file command line option to tsc works fine.

basarat avatar Oct 11 '13 07:10 basarat

I'm fine with creating a temporary file during compilation, but is there any reason you can't clean it up after running it?

The file is regenerated on subsequent runs anyway, correct? It's not used as a "cache" file by any means?

mindplay-dk avatar Nov 11 '13 18:11 mindplay-dk

The plan is to delete it if verbose is off : https://github.com/basarat/grunt-ts/issues/15

basarat avatar Nov 11 '13 21:11 basarat

I'm still getting these no matter if run with --verbose or not.

Could these files be created in the .tscache directory instead? Thus keeping all grunt-ts related files in a single place and requiring only a single .gitignore entry.

cloakedninjas avatar Nov 13 '15 15:11 cloakedninjas

Same with me, when I declare verbose:false in the tsconfig.json. Verbose does not seems to make a difference. Any progress here?

thamacher avatar Jun 27 '16 09:06 thamacher

Can we look at reopening this issue? Just because they need to be created doesn't mean it should just sit in the root creating more and more of these files every time it runs

cleavera avatar Jun 29 '16 10:06 cleavera

PRs accepted. Sorry I didn't realize this was actually a problem. It may not manifest on Windows because I've never noticed the files staying.

nycdotnet avatar Jun 30 '16 14:06 nycdotnet

I experienced the same thing on linux. So there it is still an issue.

hamtho avatar Jun 30 '16 17:06 hamtho

Why is this file being created?

mailmrmanoj avatar Oct 07 '16 09:10 mailmrmanoj

It's a workaround for an old bug. PRs accepted to delete it.

nycdotnet avatar Oct 07 '16 15:10 nycdotnet

This is happening to me on Windows too, so it's not just a Linux issue.

tzachshabtay avatar Jul 14 '17 17:07 tzachshabtay