🚑 Hotfix: Use chokidar to watch only for conf.yml changes

This commit is contained in:
Alicia Sykes
2024-03-04 19:34:35 +00:00
parent aef7f785ef
commit 1ed49c3340
2 changed files with 20 additions and 3 deletions

View File

@@ -11,7 +11,8 @@
"lint": "vue-cli-service lint",
"pm2-start": "npx pm2 start server.js",
"build-watch": "vue-cli-service build --watch --mode production",
"build-and-start": "NODE_OPTIONS=--openssl-legacy-provider npm-run-all --parallel build-watch start",
"watch-config": "chokidar \"public/conf.yml\" --command \"npm run build\"",
"build-and-start": "NODE_OPTIONS=--openssl-legacy-provider npm-run-all --parallel watch-config start",
"validate-config": "node services/config-validator",
"health-check": "node services/healthcheck",
"dependency-audit": "npx improved-yarn-audit --ignore-dev-deps"
@@ -23,6 +24,7 @@
"@sentry/vue": "^7.102.1",
"ajv": "^8.10.0",
"axios": "^1.6.0",
"chokidar-cli": "^3.0.0",
"connect-history-api-fallback": "^1.6.0",
"crypto-js": "^4.2.0",
"express": "^4.17.2",