2 years ago

#59910

test-img

Hazem Alabiad

How to watch ts,js,graphql extensions in ts-node-dev?

I am trying to run the node server by ts-node-dev and restart on any any changes in specific files. It is restarting on any changes made to ts,js files however, it is not restarting on changes to graphql files. Any suggestions?

  "scripts": {
    "start": "tsnd --transpile-only --rs ./src/microservices/index.ts --watch--extionsions 
 ts,js,graphql"
  }

node.js

graphql

ts-node

ts-node-dev

0 Answers

Your Answer

Accepted video resources