Automatyczne killowanie portu przy nodemonowym restarcie
This commit is contained in:
parent
353fb8c579
commit
d67c9ee37d
7
nodemon.json
Normal file
7
nodemon.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"events": {
|
||||
"restart": "kill-port 8080",
|
||||
"crash": "kill-port 8080"
|
||||
},
|
||||
"delay": "500"
|
||||
}
|
7546
package-lock.json
generated
7546
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -23,7 +23,7 @@
|
||||
"@hotwired/turbo": "^7.0.0-beta.3",
|
||||
"@koa/router": "^10.0.0",
|
||||
"nodemon": "^2.0.7",
|
||||
"sealious": "^0.13.13",
|
||||
"sealious": "^0.13.22",
|
||||
"stimulus": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -32,6 +32,7 @@
|
||||
"eslint": "^7.19.0",
|
||||
"eslint-config-prettier": "^7.2.0",
|
||||
"eslint-plugin-prettier": "^3.3.1",
|
||||
"kill-port": "^1.6.1",
|
||||
"prettier": "^2.2.1",
|
||||
"ts-loader": "^8.0.14",
|
||||
"typescript": "^4.1.3",
|
||||
|
Loading…
x
Reference in New Issue
Block a user