mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Pm2 stuff
This commit is contained in:
8
pm2.json
8
pm2.json
@@ -4,16 +4,12 @@
|
|||||||
"name": "zoff",
|
"name": "zoff",
|
||||||
"script": "./server/app.js",
|
"script": "./server/app.js",
|
||||||
"watch": true,
|
"watch": true,
|
||||||
|
"instances": "max",
|
||||||
|
"exec_mode": "cluster",
|
||||||
"ignore_watch": [
|
"ignore_watch": [
|
||||||
"./node_modules",
|
"./node_modules",
|
||||||
"./server/public/assets/images/thumbnails"
|
"./server/public/assets/images/thumbnails"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "gulp",
|
|
||||||
"script": "./gulpfile.js",
|
|
||||||
"watch": true,
|
|
||||||
"ignore_watch": ["./node_modules", "./server/"]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user