chore: enable PM2 watch mode for auto-restart

This commit is contained in:
bingshuo 2026-05-20 01:36:53 +08:00
parent bbfedf8f20
commit 8f7959a680

View File

@ -8,7 +8,7 @@ module.exports = {
cwd: __dirname,
instances: 1,
autorestart: true,
watch: false,
watch: true,
max_memory_restart: '128M',
env: {
NODE_ENV: 'production',