Configure nodemon to use node rather than ts-node

This commit is contained in:
Ben Woodward 2019-04-08 22:42:14 +01:00
parent 2b4e108c6e
commit 9caad9ccb5
1 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,5 @@
{
"watch": ["src"],
"ext": "ts",
"ignore": ["src/**/*.spec.ts"],
"exec": "ts-node -r tsconfig-paths/register src/main.ts"
"watch": ["dist"],
"ext": "js",
"exec": "node -r tsconfig-paths/register -r ts-node/register dist/main.js"
}