chore: update dev script with watch and debug options (#21)

* chore: update dev script with watch and debug options

* chore: add debug option to development script in package.json

---------

Co-authored-by: Marc Brooks <IDisposable@gmail.com>
This commit is contained in:
Adam Shiervani
2025-09-24 17:28:26 +02:00
committed by GitHub
parent 354da9a420
commit 2d20ce00e2
+2 -1
View File
@@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "NODE_ENV=production node -r ts-node/register ./src/index.ts",
"dev": "NODE_ENV=development node --watch --env-file=.env.development -r ts-node/register ./src/index.ts"
"dev": "NODE_ENV=development node --watch --watch-path=./src --env-file=.env.development -r ts-node/register ./src/index.ts",
"dev:debug": "NODE_ENV=development node --watch --watch-path=./src --env-file=.env.development -r ts-node/register ./src/index.ts --inspect-brk"
},
"engines": {
"node": "21.1.0"