pm2 updates

This commit is contained in:
Ben Allfree 2022-12-25 15:10:36 +00:00
parent bb21e9bd7e
commit ce5c704dcc
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
"build": "echo 'Build complete' `date`",
"dev": "DEBUG=1 tsx watch src/server.ts",
"start": "tsx src/server.ts",
"pm2": "pm2 del daemon && pm2 start \"yarn start\" --name=daemon",
"pm2": "pm2 del daemon ; pm2 start \"yarn start\" --name=daemon",
"migrate": "tsx src/migrate/migrate.ts"
},
"dependencies": {

View File

@ -11,7 +11,7 @@
"lint": "prettier --check .",
"format": "prettier --write .",
"start": "HOST=localhost PORT=5173 node dist-server/index.js",
"pm2": "pm2 del www && pm2 start \"yarn start\" --name=www",
"pm2": "pm2 del www ; pm2 start \"yarn start\" --name=www",
"watch": "chokidar 'src/**' -c 'yarn build' --initial"
},
"devDependencies": {

View File

@ -6,7 +6,7 @@
"scripts": {
"dev": "tsx watch src/index.ts",
"start": "tsx src/index.ts",
"pm2": "pm2 del proxy && pm2 start \"yarn start\" --name=proxy"
"pm2": "pm2 del proxy ; pm2 start \"yarn start\" --name=proxy"
},
"dependencies": {
"@types/node": "^18.11.17",