This is how I run a A.ts file:
npm run start_A
where I have in package.json:
"scripts": {
"win_dev": "set NODE_ENV=development && concurrently --kill-others \"tsc-watch --project ./\" \"nodemon dist/index.js\"",
"dev": "set NODE_ENV=development && node dist/server.js",
"test": "nyc --reporter=html mocha src/**/*.spec.ts src/*.spec.ts --require ts-node/register",
"build": "tsc",
"start_A": "tsc && node dist/A.js"
},
But the changes I made to A.ts don't take any effect, the output is the same and A.js file matches the one before any edits... why is that? I tried to delete dist/A.js file but same problem.