🧱 Writes script to watch for changes and trigger re-build

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

View File

@@ -11,7 +11,7 @@
"lint": "vue-cli-service lint",
"pm2-start": "npx pm2 start server.js",
"build-watch": "vue-cli-service build --watch --mode production",
"watch-config": "chokidar \"public/conf.yml\" --command \"npm run build\"",
"watch-config": "node services/watch-for-changes",
"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",
@@ -24,7 +24,6 @@
"@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",