chore: update dev script with watch and debug options

This commit is contained in:
Adam Shiervani 2025-02-21 01:33:41 +01:00
parent e9191d7972
commit d0bcb4b40d

View File

@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"start": "NODE_ENV=production node -r ts-node/register ./src/index.ts",
"dev": "NODE_ENV=development node --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 --debug-brk"
},
"engines": {
"node": "21.1.0"