Without 【tsc --watch callback】 , and Without 【the combine of nodemon and typescript】
Opened this issue · 0 comments
hanshou101 commented
Sir,
your 【dev】 command
tsc --watch & nodemon dist
will only make tsc --watch . But the nodemon dist will never run.
You should use 【tsc --watch --onSuccess】 to call node ./dist/index.js .
or use 【nodemon -e ts --exec "tsc && node ./dist/index.js "】。