Reputation: 81
I just downloaded and installed the TS v3.2.2 and got a bad surprise: no more tsc.exe !
I'm working on a big .NET project with React and the Build of the web project, where all my *.aspx and react sources are is so lengthy that for quite some time I just: 1) opened the command prompt at the React folder I was working at 2) and run tsc + Enter to compile all the *.ts.
So my question to you is what other options do I have now to run a fast, typescript compile only, of all files inside a specific folder ?
Thanks in advance, Miguel
Upvotes: 2
Views: 628
Reputation: 81
Just for future reference on the way to do this, in a windows command prompt, positioning in the specific folder and then just run the command below to compile all *.ts files inside that folder:
node "C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.2\tsc.js"
The dir "C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.2" is where typescript 3.2.2 was installed.
Upvotes: 2