Enable watch mode in ecosystem config
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
All checks were successful
Build Frontend / Build Frontend (push) Successful in 9s
This commit is contained in:
@@ -7,7 +7,11 @@ module.exports = {
|
|||||||
instances: 1,
|
instances: 1,
|
||||||
exec_mode: "cluster",
|
exec_mode: "cluster",
|
||||||
autorestart: true,
|
autorestart: true,
|
||||||
watch: false,
|
watch: true,
|
||||||
|
ignore_watch: ["node_modules", "logs", ".git", "frontend"],
|
||||||
|
watch_options: {
|
||||||
|
followSymlinks: false,
|
||||||
|
},
|
||||||
max_memory_restart: "1G",
|
max_memory_restart: "1G",
|
||||||
env: {
|
env: {
|
||||||
NODE_ENV: "production",
|
NODE_ENV: "production",
|
||||||
|
|||||||
Reference in New Issue
Block a user