Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

nodemon typescript

// nodemon.json
{
  "watch": ["src"],
  "ext": "ts",
  "exec": "ts-node ./src/app.ts"
}
// package.json
{
  "start" :"rm -rf dist/ && tsc --project . && node dist/app.js",
  "dev": "nodemon ."
}
 
PREVIOUS NEXT
Tagged: #nodemon #typescript
ADD COMMENT
Topic
Name
2+7 =