🧑‍💻(y-webrtc) use correctly the conf nodemon

The conf was not used correctly, the nodemon.json
was not used.
This commit fix this issue.
This commit is contained in:
Anthony LC
2024-08-01 16:52:08 +02:00
committed by Anthony LC
parent 4b61ffce01
commit bef541f956
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
{
"watch": ["src"],
"ext": "ts",
"exec": "ts-node --esm ./src/server.ts"
"exec": "yarn build"
}

View File

@@ -7,7 +7,7 @@
"type": "module",
"scripts": {
"build": "tsc -p .",
"dev": "nodemon --exec src/server.ts",
"dev": "nodemon --config nodemon.json",
"start": "node ./dist/server.js",
"lint": "eslint . --ext .ts"
},