Skip to content

Commit 4ddb92d

Browse files
committed
fix: update nodemon dev command for ts
1 parent febec5f commit 4ddb92d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"private": true,
55
"scripts": {
66
"start": "node ./dist/bin/www.js",
7-
"dev": "nodemon ./bin/www",
7+
"dev": "ts-node ./bin/www.ts",
8+
"dev:hot": "nodemon --exec \"npm run dev\" --watch . --ext ts",
89
"build": "tsc",
910
"backup": "cp ./database/cue.db ./backups/cue-$(date +%Y-%m-%d-%H-%M-%S).db"
1011
},

0 commit comments

Comments
 (0)