79266827

Date: 2024-12-10 01:48:47
Score: 2
Natty:
Report link

I did exactly the same thing that all the responses to this post are saying.

But I achieved a solution with a simple command, in addition to the previous solutions

In the script you need to put "--files"

"scripts": { "dev": "ts-node-dev --respawn --env-file=.env --files src/index.ts",

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Brian Chiastellino