Package Exports
- ts-node-dev
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ts-node-dev) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ts-node-dev
Hacked version of node-dev that uses ts-node under the hood.
It restarts target node process when any of required files changes (as standard node-dev
) but shares Typescript compilation process between restarts significantly increasing speed of restarting. Because comparing to node-dev -r ts-node/register ...
there is no need to instantiate ts-node
compilation each time.
Install
yarn add ts-node-dev
npm i ts-node-dev --global
Usage
ts-node-dev [node-dev|ts-node flags] [script] [script arguments]
ts-node-dev --fast --respawn server.ts
By defalut it puts compiled and cached files in the .ts-node
directory of the project, so put it in .gitignore
.
License
WTF.