SyntaxFix
Write A Post
Hire A Developer
Questions
add this to your package.json file
scripts { "dev": "nodemon --watch '**/*.ts' --exec 'ts-node' index.ts" }
and to make this work you also need to install ts-node as dev-dependency
yarn add ts-node -D
run yarn dev to start the dev server
yarn dev