🏗️ Sets environment in Docker, and adds recompile watcher to start script
Ensures environment is correctly set to production, and sets build-and-start script to now recompoile when conf.yml is updated
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
"start": "node server",
|
||||
"dev": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint --fix",
|
||||
"lint": "vue-cli-service lint",
|
||||
"pm2-start": "npx pm2 start server.js",
|
||||
"build-watch": "vue-cli-service build --watch",
|
||||
"build-and-start": "npm-run-all --parallel build start",
|
||||
"build-watch": "vue-cli-service build --watch --mode production",
|
||||
"build-and-start": "npm-run-all --parallel build-watch start",
|
||||
"validate-config": "node src/utils/ConfigValidator",
|
||||
"health-check": "node services/healthcheck"
|
||||
},
|
||||
@@ -84,4 +84,4 @@
|
||||
"> 1%",
|
||||
"last 2 versions"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user