diff --git a/pm2.config.js b/pm2.config.js index 8be34a62..2a98db2e 100644 --- a/pm2.config.js +++ b/pm2.config.js @@ -14,7 +14,7 @@ module.exports = { apps: [ { name: 'serve', - script: 'npm run serve -- public', + script: 'npx serve -- public', instances: 1, watch: false, autorestart: true