Skip to content

Commit

Permalink
build(script): fix dev
Browse files Browse the repository at this point in the history
ts-node-dev does not read "ts-node" field from tsconfig.json.
I guess this is caused from the fact it uses fixed version of ts-node
under the hood. This is related to wclr/ts-node-dev#286
  • Loading branch information
jjangga0214 committed Aug 14, 2021
1 parent e808574 commit 2fead89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test:unit": "jest test/unit",
"coverage": "jest --coverage",
"coverage:show": "live-server coverage",
"dev": "ts-node-dev src/index.ts",
"dev": "ts-node-dev -r tsconfig-paths/register src/index.ts",
"start": "node dist/index.js"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/foo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test:integration": "jest test/integration",
"coverage": "jest --coverage",
"coverage:show": "live-server coverage",
"dev": "ts-node-dev src/index.ts",
"dev": "ts-node-dev -r tsconfig-paths/register src/index.ts",
"start": "node dist/index.js"
},
"dependencies": {},
Expand Down

0 comments on commit 2fead89

Please sign in to comment.