-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
DuplicateAn existing issue was already createdAn existing issue was already created
Description
I have this line of code in Node.js which sends stdin to a bash child process
shell.stdin.write('tsc --jsx react --module amd --target es5 ' + path + '\n');even transpiling 1 file takes about 1.5 seconds. Is there anyway I could somehow speed this up? the only thing I can think of is to have tsc be already running as a server and send it an ipc or socket message.
The problem with using tsc --watch is that I need to add a hook, such that when tsc is done with a transpilation I can run some other code. I would be happy to use tsc --watch to speed this up but I don't know how in this case.
Metadata
Metadata
Assignees
Labels
DuplicateAn existing issue was already createdAn existing issue was already created