thinca / vim-quickrun

Run commands quickly.
zlib License
769 stars 102 forks source link

typescript: Use ts-node if possible #173

Closed rhysd closed 6 years ago

rhysd commented 6 years ago

ts-node is a CLI tool like node command, but can run TypeScript code directly.

This PR makes vim-quickrun prefer ts-node to tsc because ts-node does not need to create a temporary file (compile code on the fly). If ts-node is not installed, this PR does not break previous behavior. It falls back into tsc.

thinca commented 6 years ago

Thank you!