Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

178
Views
Why TypeScript Generates Old JS File?

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.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!