mirror of
https://github.com/jetkvm/cloud-api.git
synced 2026-05-21 05:20:36 +00:00
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:
+2
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user