gcanti / docs-ts

A zero-config documentation tool for my TypeScript projects
https://gcanti.github.io/docs-ts/
MIT License
100 stars 17 forks source link

Use ts-node.cmd on windows #15

Closed mattiamanzati closed 3 years ago

mattiamanzati commented 3 years ago

Windows being Windows, is unable to spawn ts-node and gives back ENOENT error. Using ts-node.cmd solves the issue, so this PR adds a check on the executing environment and conditionally uses ts-node.cmd instead of ts-node.

gcanti commented 3 years ago

Thanks @mattiamanzati, released.