diff --git a/playground-client/install-npm.sh b/playground-client/install-npm.sh index 132890b..7552a12 100755 --- a/playground-client/install-npm.sh +++ b/playground-client/install-npm.sh @@ -12,4 +12,4 @@ npm cache clean --force cp VuetableCssConfig.js node_modules/vuetable-2/src/components -pm2-runtime playground.config.js +pm2-runtime playground.config.js & diff --git a/playground-client/playground.config.js b/playground-client/playground.config.js index f2c11d1..d344753 100644 --- a/playground-client/playground.config.js +++ b/playground-client/playground.config.js @@ -4,9 +4,12 @@ module.exports = { "autorestart" : true, "script" : "./node_modules/@vue/cli-service/bin/vue-cli-service.js", "args" : 'serve', + "run_as_user" : "node", + "exec_mode" : "fork", "max_restarts": 10, "max_memory_restart": "500M", "restart_delay": 1000 }] } +