generated from gtrabanco/nodecg-react-ts-start
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecosystem.config.js
52 lines (52 loc) · 1.22 KB
/
ecosystem.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
module.exports = {
apps: [
{
name: "watcher-dashboard",
script: "bun",
args: "watch:dashboard",
instances: 1,
},
{
name: "watcher-graphics",
script: "bun",
args: "watch:graphics",
instances: 1,
},
{
name: "watcher-extension",
script: "bun",
args: "watch:extension",
instances: 1,
},
// {
// name: "watcher-schemas",
// script: "bun",
// args: "build:schemas",
// instances: 1,
// autorestart: true,
// watch: ["schemas"],
// watch_delay: 1000,
// },
{
name: "handball-liveshow-spain",
script: "npm",
args: "start",
instances: 1,
autorestart: true,
dependency: ["watcher-dashboard", "watcher-graphics", "watcher-extension"],
watch: ["dashboard", "extension", "graphics"],
ignore_watch: ["node_modules", "src"],
// watch: ["src"],
// ignore_watch: ["node_modules", "dashboard", "extension", "graphics"],
watch_delay: 10000,
max_memory_restart: "500M",
interpreter: "node@v18.17.1",
env: {
NODE_ENV: "production",
},
env_development: {
NODE_ENV: "development",
},
},
],
};