🧑💻(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:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"watch": ["src"],
|
"watch": ["src"],
|
||||||
"ext": "ts",
|
"ext": "ts",
|
||||||
"exec": "ts-node --esm ./src/server.ts"
|
"exec": "yarn build"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p .",
|
"build": "tsc -p .",
|
||||||
"dev": "nodemon --exec src/server.ts",
|
"dev": "nodemon --config nodemon.json",
|
||||||
"start": "node ./dist/server.js",
|
"start": "node ./dist/server.js",
|
||||||
"lint": "eslint . --ext .ts"
|
"lint": "eslint . --ext .ts"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user