ericclemmons / polydev

Faster, route-centric development for Node.js apps with built-in Hot Module Replacement.
282 stars 6 forks source link

TypeScript support #7

Closed ericclemmons closed 5 years ago

ericclemmons commented 5 years ago

Using something like https://github.com/TypeStrong/ts-node seems to be the easiest way.

Otherwise, people say to use tsc -w -p and run the file.

Mercurial commented 5 years ago

Ts node is much better

ericclemmons commented 5 years ago

Wow, this took ~10 minutes.

NODE_OPTIONS="--require ts-node/register" polydev

Now to make this work:

polydev --require ts-node/register
ericclemmons commented 5 years ago

Actually, going to skip the polydev --require version for now.