node-typescript-starter icon indicating copy to clipboard operation
node-typescript-starter copied to clipboard

Without 【tsc --watch callback】 , and Without 【the combine of nodemon and typescript】

Open hanshou101 opened this issue 6 years ago • 0 comments

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 "】。

hanshou101 avatar Apr 29 '19 06:04 hanshou101