{ "scripts": { "dev1": "serverName=xx1 prefixName=xx2 NODE_ENV=dev pm2 start index.js", ## mac "dev1": "set serverName=xx1& set prefixName=xx2& set NODE_ENV=dev&& pm2 start index.js", ## windows &前不要加空格 } }
{ "scripts": { "dev1": "serverName=xx1 prefixName=xx2 NODE_ENV=dev pm2 start index.js", ## mac "dev1": "set serverName=xx1& set prefixName=xx2& set NODE_ENV=dev&& pm2 start index.js", ## windows &前不要加空格 } }