Enable auto-reload for express server
This commit is contained in:
parent
6b62422903
commit
95af0ea1fb
2 changed files with 22 additions and 3 deletions
20
package-lock.json
generated
20
package-lock.json
generated
|
@ -6544,6 +6544,23 @@
|
||||||
"integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==",
|
"integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/noderel": {
|
||||||
|
"version": "1.0.13",
|
||||||
|
"resolved": "https://registry.npmjs.org/noderel/-/noderel-1.0.13.tgz",
|
||||||
|
"integrity": "sha512-EvHkHAIA00xrs5cgdaTfxLefd12sdgW5y2aOAY6jCs2kmI75+0Y9cgsLLtQievgG2Y1vmPQcpumrqASBx7IIPg==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"chokidar": "^3.5.3",
|
||||||
|
"minimist": "^1.2.6",
|
||||||
|
"tree-kill": "^1.2.2"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"noderel": "bin/cli"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/normalize-package-data": {
|
"node_modules/normalize-package-data": {
|
||||||
"version": "2.5.0",
|
"version": "2.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
|
||||||
|
@ -9678,7 +9695,8 @@
|
||||||
"express": "^4.18.2"
|
"express": "^4.18.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/express": "^4.17.15"
|
"@types/express": "^4.17.15",
|
||||||
|
"noderel": "^1.0.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,12 +5,13 @@
|
||||||
"description": "A server for Storing ConnectForce Savegames",
|
"description": "A server for Storing ConnectForce Savegames",
|
||||||
"author": "Manuel Thalmann <m@nuth.ch>",
|
"author": "Manuel Thalmann <m@nuth.ch>",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./src/main.js"
|
"start": "noderel -e ./src/main.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"express": "^4.18.2"
|
"express": "^4.18.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/express": "^4.17.15"
|
"@types/express": "^4.17.15",
|
||||||
|
"noderel": "^1.0.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue