Fix development environment

This commit is contained in:
Lars Strojny 2022-11-09 00:41:02 +01:00
parent de101f9006
commit 4d1069c041
4 changed files with 6 additions and 6 deletions

4
.gitignore vendored
View file

@ -123,5 +123,5 @@ dist
# IntelliJ # IntelliJ
/.idea/ /.idea/
/dot-homebridge/accessories/ /.homebridge/accessories/
/dot-homebridge/persist/ /.homebridge/persist/

View file

@ -6,7 +6,7 @@
}, },
"platforms": [ "platforms": [
{ {
"pin": "808-00-808", "pin": "121-11-121",
"platform": "PrometheusExporter", "platform": "PrometheusExporter",
"debug": true "debug": true
}, },

View file

@ -134,7 +134,7 @@ web_modules/
.pnp.* .pnp.*
# Dev setup # Dev setup
dot-homebridge/ .homebridge/
tests/ tests/
.idea/ .idea/
flake.* flake.*

View file

@ -1,7 +1,7 @@
{ {
"watch": ["./"], "watch": ["./"],
"ignore": ["dist/*", "tests/*"], "ignore": ["dist/*", "tests/*", ".homebridge/persist", ".homebridge/accessories"],
"exec": "tsc && homebridge -D -U dot-homebridge", "exec": "tsc && homebridge -I -D -U .homebridge",
"signal": "SIGTERM", "signal": "SIGTERM",
"env": { "env": {
"NODE_OPTIONS": "--trace-warnings" "NODE_OPTIONS": "--trace-warnings"