Skip to content

Commit bcdd421

Browse files
committed
chore: add nodemon for dev task with watch support
1 parent 4dcfcf6 commit bcdd421

File tree

3 files changed

+220
-3
lines changed

3 files changed

+220
-3
lines changed

nodemon.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"execMap": {
3+
"ts": "ts-node"
4+
}
5+
}

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
22
"devDependencies": {
3+
"nodemon": "^3.1.4",
34
"prettier": "3.3.3",
5+
"ts-node": "^10.9.2",
46
"typescript": "^5.5.4",
57
"vitest": "^2.0.5"
68
},
79
"scripts": {
810
"start": "pnpm ts-node src/index.ts",
11+
"dev": "pnpm nodemon src/index.ts",
912
"build": "tsc",
1013
"test": "vitest"
1114
}

0 commit comments

Comments
 (0)