chore: enable PM2 watch mode for auto-restart
This commit is contained in:
parent
bbfedf8f20
commit
8f7959a680
@ -8,7 +8,7 @@ module.exports = {
|
|||||||
cwd: __dirname,
|
cwd: __dirname,
|
||||||
instances: 1,
|
instances: 1,
|
||||||
autorestart: true,
|
autorestart: true,
|
||||||
watch: false,
|
watch: true,
|
||||||
max_memory_restart: '128M',
|
max_memory_restart: '128M',
|
||||||
env: {
|
env: {
|
||||||
NODE_ENV: 'production',
|
NODE_ENV: 'production',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user