Hello, I have a turborepo with a nodejs project as one of the apps. This project includes a path to a shared package which is imported into the nodejs project. When I simply build and run with node it works but when I try and execute with ts-node-dev it gives a compilation error on a js file in the shared package. It seems to be trying to transpile js files for some reason. How can I force ts-node-dev to ignore js files?
This is the error. As you can see it attempts to go into the dist folder for some reason. I also tried updating tsconfig to exlude any dist or build folders but that did nothing.
Compilation error in /Users/davidchoi/Work/jsoneaday/jsoneaday-repo/packages/common/dist/index.js
Context
OS version (is it docker or host?), ts-node-dev version
Mac 12.4
Did you try to run with ts-node?
No
Did you try to run with --files option enabled?
No
Did you try to run with --debug option enabled?
Yes, but it did not give any more helpful info
Do you have a repro example (git repo) with simple steps to reproduce your problem?
I do not but I'm pretty sure the issue is that js is attempting to be transpiled. Is there no escape for js files?
Issue description
Hello, I have a turborepo with a nodejs project as one of the apps. This project includes a path to a shared package which is imported into the nodejs project. When I simply build and run with node it works but when I try and execute with ts-node-dev it gives a compilation error on a js file in the shared package. It seems to be trying to transpile js files for some reason. How can I force ts-node-dev to ignore js files?
This is the error. As you can see it attempts to go into the dist folder for some reason. I also tried updating tsconfig to exlude any dist or build folders but that did nothing. Compilation error in /Users/davidchoi/Work/jsoneaday/jsoneaday-repo/packages/common/dist/index.js
Context
OS version (is it docker or host?), ts-node-dev version Mac 12.4 Did you try to run with ts-node? No Did you try to run with
--files
option enabled? No Did you try to run with--debug
option enabled? Yes, but it did not give any more helpful info Do you have a repro example (git repo) with simple steps to reproduce your problem? I do not but I'm pretty sure the issue is that js is attempting to be transpiled. Is there no escape for js files?