Skip to content

Commit

Permalink
chore(dev): switch from tsc-watch to ts-node-dev (#1307)
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul committed Jul 14, 2023
1 parent e4d42af commit 83d201a
Show file tree
Hide file tree
Showing 2 changed files with 183 additions and 133 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"scripts": {
"main": "node ./build/src/main.js",
"dev": "tsc-watch --onSuccess \"yarn run main\"",
"dev": "ts-node-dev --respawn --transpile-only ./src/main.ts",
"deploy": "yarn build && npm publish",
"inspect": "node --inspect=127.0.0.1:8081 ./build/src/main.js",
"build": "substrate-exec-rimraf build/ && substrate-exec-tsc && echo Build Finished",
Expand Down Expand Up @@ -73,8 +73,7 @@
"@types/lru-cache": "^7.10.10",
"@types/morgan": "1.9.3",
"@types/triple-beam": "^1.3.2",
"ts-node": "^10.9.1",
"tsc-watch": "^4.6.2",
"ts-node-dev": "^2.0.0",
"wasm-pack": "^0.10.3"
},
"resolutions": {
Expand Down
Loading

0 comments on commit 83d201a

Please sign in to comment.