grunt-ts
grunt-ts copied to clipboard
tscommand.tmp.txt
Hi, is this file necessary to be created in root folder?
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.
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?
The plan is to delete it if verbose is off : https://github.com/basarat/grunt-ts/issues/15
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.
Same with me, when I declare verbose:false in the tsconfig.json. Verbose does not seems to make a difference. Any progress here?
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
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.
I experienced the same thing on linux. So there it is still an issue.
Why is this file being created?
It's a workaround for an old bug. PRs accepted to delete it.
This is happening to me on Windows too, so it's not just a Linux issue.