npm.io
1.0.0 • Published 7 years agoCLI

run-typescript-in-nodemon

Licence
Apache-2.0
Version
1.0.0
Deps
2
Size
14 kB
Vulns
0
Weekly
0

Easily run a TypeScript application with ts-node and nodemon. Just add it to your project:

npm install --save-dev run-typescript-in-nodemon

Then add something like this to your package.json:

"scripts": {
    "start": "run-typescript-in-nodemon src/index.ts --whatever-parameters-you-need"
}

And then start your app under nodemon with:

npm start

If any of your typescript code changes, the application will restart.

This package was adapted from the awesome Magda project.