Skip to content

Commit d2aec31

Browse files
committed
added a way to view pm2 logs while prod is running
1 parent 0c89a32 commit d2aec31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"start": "npm run build && pm2 start dist/index.js --name 'Voice Channel Logger'",
66
"stop": "pm2 stop 'Voice Channel Logger'",
77
"restart": "pm2 restart 'Voice Channel Logger'",
8+
"logs": "pm2 logs 'Voice Channel Logger' --lines 20 --nostream",
89
"lint": "eslint src/**/*.ts --fix",
910
"lint:check": "eslint src/**/*.ts",
1011
"type-check": "tsc --noEmit",

0 commit comments

Comments
 (0)