Skip to content

Commit 90757c0

Browse files
committed
chore(otel): delete unnecessary NODE_OPTIONS when exec pm2:restart
1 parent 5b3552a commit 90757c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"rebuild": "npm install && next build",
1515
"start": "next start",
1616
"pm2:start": "pm2 kill && pm2 start ecosystem.config.js && pm2 save",
17-
"pm2:restart": "NODE_OPTIONS='--require @opentelemetry/auto-instrumentations-node/register' npm run rebuild && pm2 kill && pm2 restart ecosystem.config.js && pm2 save",
17+
"pm2:restart": "npm run rebuild && pm2 kill && pm2 restart ecosystem.config.js && pm2 save",
1818
"pm2:status": "pm2 ls",
1919
"pm2:stop": "pm2 stop ecosystem.config.js",
2020
"mock:up": "docker compose -f docker-compose.mock.yml up -d",

0 commit comments

Comments
 (0)