Typescript dev command

Hello, just a little opinionated opinion haha

With the typescript dev command the watch mode was always clearing the console and not logging any nodemon / app error

I would suggest using tsc-watch as so:

"dev": "tsc-watch --project ./tsconfig.json --noClear --onSuccess \"nodemon --watch ./dist ./dist/server.js\""
4 Likes

Hello @Benjamin_Marquis :wave:

I took the time to investigate the command you proposed, and indeed, it is way more better then the previous one :muscle:

I have updated our document regarding how to translate a project to TypeScript with your command and the related dependencies.

Thanks a lot for this feedback :pray:

Steve.

1 Like