flooded with ways to run the code on prod and dev. For prod I can use concurrently "tsc" "node dist/index.js" or ts-node src/index.ts and for dev I can use concurrently "tsc -w" "nodemon dist/index.js" or ts-node-dev src/index.ts. I am confused which of these is a better practice. Can you suggest me which is better?
For dev, ts-node-dev --script-mode src/index.ts
Обсуждают сегодня