diff --git a/Makefile b/Makefile index 3bfbcaa..38befd0 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ build: @./node_modules/loader/bin/build views . start: install build - @nohup ./node_modules/.bin/pm2 start app.js -i max --name "cnode" >> cnode.log 2>&1 & + @nohup ./node_modules/.bin/pm2 start app.js -x -i max --name "cnode" >> cnode.log 2>&1 & restart: install build @nohup ./node_modules/.bin/pm2 restart "cnode" >> cnode.log 2>&1 &