Add make run command to run development server

This commit is contained in:
Jason Lee 2015-05-25 17:50:55 +08:00
parent 7357d65525
commit fe730d8df6

View File

@ -39,6 +39,9 @@ test-cov cov: install pretest
build:
@./node_modules/loader/bin/build views .
run:
@node app.js
start: install build
@nohup ./node_modules/.bin/pm2 start app.js -i max --name "cnode" --max-memory-restart 400M >> cnode.log 2>&1 &