Readded sudo to npm run forever
parent
44980761a7
commit
59e0b97a9b
|
@ -16,7 +16,7 @@
|
||||||
"build:dev": "webpack --mode development",
|
"build:dev": "webpack --mode development",
|
||||||
"build:prod": "webpack --mode production",
|
"build:prod": "webpack --mode production",
|
||||||
"clean": "rimraf .tmp && mkdirp .tmp/public",
|
"clean": "rimraf .tmp && mkdirp .tmp/public",
|
||||||
"forever": "./node_modules/.bin/pm2 start ecosystem.config.js --env production",
|
"forever": "sudo ./node_modules/.bin/pm2 start ecosystem.config.js --env production",
|
||||||
"stop": "sudo ./node_modules/.bin/pm2 delete roe-base",
|
"stop": "sudo ./node_modules/.bin/pm2 delete roe-base",
|
||||||
"test": "npm run lint && npm run custom-tests && echo 'Done.'",
|
"test": "npm run lint && npm run custom-tests && echo 'Done.'",
|
||||||
"lint": "standard && echo '✔ Your .js files look good.'",
|
"lint": "standard && echo '✔ Your .js files look good.'",
|
||||||
|
|
Loading…
Reference in New Issue