Closed r3x5ur closed 1 week ago
Switching ts-node to ts-node-dev does not work properly error: bad option: --cwd
bad option: --cwd
OS version (is it docker or host?), ts-node-dev version win10 node14 ts-node-dev@2.0.0
win10
node14
ts-node-dev@2.0.0
Did you try to run with ts-node?
Did you try to run with --files option enabled?
--files
Did you try to run with --debug option enabled?
--debug
Do you have a repro example (git repo) with simple steps to reproduce your problem?
ts-node -r tsconfig-paths/register --transpile-only -P packages/server/tsconfig.json --cwd packages/server packages/server/src/main.ts
working fine
ts-node-dev -r tsconfig-paths/register --transpile-only -P packages/server/tsconfig.json --cwd packages/server packages/server/src/main.ts
error: D:\Program Files\nodejs\node.exe: bad option: --cwd
D:\Program Files\nodejs\node.exe: bad option: --cwd
Issue description
Switching ts-node to ts-node-dev does not work properly error:
bad option: --cwd
Context
OS version (is it docker or host?), ts-node-dev version
win10
node14
ts-node-dev@2.0.0
Did you try to run with ts-node?
Did you try to run with
--files
option enabled?Did you try to run with
--debug
option enabled?Do you have a repro example (git repo) with simple steps to reproduce your problem?
use ts-node
working fine
use ts-node-dev
error:
D:\Program Files\nodejs\node.exe: bad option: --cwd