Last active
November 6, 2021 20:10
-
-
Save richardaum/fc7a4cf65bf3afad5fdd4b9a669ca52d to your computer and use it in GitHub Desktop.
FBG PM2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @type import('pm2').StartOptions */ | |
const pwd = "/home/richardaum/projects/FreeBoardGames.org"; | |
module.exports = { | |
apps: [ | |
{ | |
cwd: `${pwd}/web`, | |
name: "i18n", | |
script: "npm", | |
args: "run i18n:watch", | |
watch: false, | |
}, | |
{ | |
cwd: `${pwd}/web`, | |
name: "webpack", | |
script: "npm", | |
args: "run build:server:dev -- --watch", | |
watch: false, | |
}, | |
{ | |
cwd: `${pwd}/web`, | |
name: "next.js", | |
script: "npm", | |
args: "run dev:runserver", | |
watch: "server/dist", | |
}, | |
{ | |
cwd: `${pwd}/web`, | |
name: "bg.io", | |
script: "npm", | |
args: "run start:bgio", | |
watch: "server/dist", | |
}, | |
{ | |
cwd: `${pwd}/fbg-server`, | |
name: "nest.js", | |
script: "npm", | |
args: "run start:dev", | |
watch: false, | |
}, | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment