nodemon, ts-node, not automatically recompiling

Solution 1:

try to install the ts-node-dev library then use this command in dev: